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?
-
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.
-
I am assuming it's a custom app. @andirahmat is it not your app? If so, why can't it log why it can't send mail?
@girish yes I'm trying to contact the developer about the mail log.
-
@girish yes I'm trying to contact the developer about the mail log.
-
@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.yyyI've tried this command and works well. The problem is the app, still waiting for the developer response. Thank you @girish
-
8 81ewlska referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login