Use Cloudron email for sending email (smtp) on application hosted outside Cloudron
-
Hi. I have this need of using Cloudron email as and email server (smtp email relay/sending email) on application outside Cloudron. I have follow guide in here : https://docs.cloudron.io/email/#smtp
In the application i have setup smtp config as follow :
Driver : smtp
Host : my.xxx.yyy (my main cloudron domain)
Port : 587
User : abc@xxx.yyy (i have created this mailbox in the cloudron email setting)
Password : My Cloudron password where my user assign to the mailbox as owner
Encryption : STARTTLSBut when i test sending email, it says failed.
I tried send and recieve email from roundcube it works fine.
I need this to replace gmail smtp email relay using less secure app setting (on).
Is there anyone face this problem before?
-
@andirahmat Your settings seem correct. Does the app have any error logs?
-
@girish I could not find error log related email. There is no error log on the apache.
I tried send and recieve email from roundcube it works fine on cloudron.Can I use TLS as encryption on cloudron email server? Because when i use gmail as smtp with TLS it works fine. Or is it possible the app does not support STARTTLS.
-
@andirahmat You can test this with swaks.
swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
-
@girish said in Use Cloudron email for sending email (smtp) on application hosted outside Cloudron:
@andirahmat You can test this with swaks.
swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
I've tried this command and works well. The problem is the app, still waiting for the developer response. Thank you @girish
-