Reputation: 132
I have configured the alfresco email outbound like this
mail.host=mailserver.com
mail.port=25
mail.username=uname
mail.password=pword
now I can send mail to email address like [email protected]
but [email protected]
.
how to send email to other domai? thanks!!!(my alfresco edition is community 4.2.x)
Upvotes: 0
Views: 2065
Reputation: 11
To send an email to alfresco using the rule “Send an email to a specified user“ you must modify first the file alfresco-global.properties. This file is located in the folder “tomcatsharedclasses“.
mail.host=your host
mail.port=25
mail.username=your mail user
mail.password=your mail password
mail.encoding=UTF-8
mail.from.default=optional name
mail.smtp.auth=true
Finally, you can change the template of email notification in the file notify_user_email.ftl in Company Home/Data Dictionary/Email Templates/Notify Email Templates.
For complete example see here: https://lentux-informatica.com/how-to-send-email-through-alfresco/
Upvotes: 0
Reputation: 48336
Promoting a comment to an answer...
Alfresco itself has absolutely no problems with sending emails to any destination domain
However, when you setup outbound SMTP for Alfresco, you specify a mail server to use for handling outbound messages. That server needs to be configured to allow mail relaying from the Alfresco host. If it isn't, then you'll often see that internal emails are fine, but external emails are rejected. Make sure your mail server is configured to allow Alfresco to send (relay) emails through it, and you'll be fine!
Upvotes: 1