Skip to content
Back

E-Mails via custom SMTP are not being sent (Cloud beta)

  • 0
  • Cloud
JayDee (@digital-fpv.de)
12 Dec, 2023, 16:26

I did register webspace, domain and email hosting with united domains. In Cloud console i can successfully setup the smtp server for my imap account / smtps server from united domains. On updating the settings in cloud console, i get the green success window indicating that the smtp configuration is updated successfully.

But no E-Mails are being sent / received.

TL;DR
The user is experiencing issues with sending emails via custom SMTP in Cloud beta. They mentioned that there was a typo in the username and that using another SMTP account from the same provider worked. They also found "Could not authenticate" error logs. The user has checked for spam but found nothing. They cannot see any logs from their mail provider. They are calling a web API to create email verifications, which works fine without custom SMTP enabled. The user has set up the SMTP server in the Cloud console successfully but no emails are being sent or received. There is no solution provided in the thread.
Drake
12 Dec, 2023, 16:55

what are you doing to test sending an email?

JayDee (@digital-fpv.de)
13 Dec, 2023, 01:18

i call web api like:

account.createVerification('https://captchores.de/verify-email').then(value1 => { console.log('Token: ', value1); },reason => { console.log('sendEMailVerificationFailed: ', reason); });

which works fine if i disable custom smtp config. if i re enable it - no mail gets sent. if disabled, i get the e-mail by appwrite mail domain.

Drake
13 Dec, 2023, 01:22

have you checked your spam folder? Is there anything you can check on your provider side?

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:04

Yes, i hav checked for spam. Nothing there. sadly no, i cannot check / see anything from mail provider. it only offers an webmailer - but nothing can be seen there.

Drake
13 Dec, 2023, 02:14

what's your project ID?

Drake
13 Dec, 2023, 02:18

actually i may have found some logs...i see "Could not authenticate" error

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:23

65587b968ebebf215d80

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:23

Funny enough - if i use another smtp account (same provider) it just works...

Drake
13 Dec, 2023, 02:24

the username and password might have been incorrect

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:26

OMG - i am sooooo sorry ! There was a typo in the user name.

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:27

stupid me!

Drake
13 Dec, 2023, 02:27

no worries! glad you figured it out! 🎉

JayDee (@digital-fpv.de)
13 Dec, 2023, 02:27

I am really sorry! Thanks for your patience!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more