• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Coldfusion and sending mail

T

tibor749

Guest
We are having an issue with our new plesk install. When we send email using coldfusion we can login to the domains mail server, we can send to other mail accounts on the domain but not to external email addresses. The mail servers are setup for login to relay over smtp. Anyone have any ideas?
 
Check the MAIL option on CF administrator, i think that you need specify a validate mail user.
 
If you do not setup a defualt mail server in the CF admin, then you need to use the cfmail tags full params to authenticate, there is also one big difference between Linux and Windows with the cfmail tag.

Linux cfmial tag allows you to specify a short mail username IE: username ="joe" where windows cfmail tag you must use the full mail name as the username, IE: username = "[email protected]".
 
It is obviously more preferrable to have your users setup an email address for themselves and then authenticate with the SMTP server by using the username and passwords from thier email addresses that they setup in PLESK for that domain. They then use mail.thier-domain.com for the mail server attribute in the cfmail tag.

Like so:
Setup an email address like [email protected] in plesk for the domain.

<cfmail
from = "[email protected]"
to = "[email protected]"
subject = "Your Subject"
server = "mail.your-domain.com"
username = "sitemail"
password = "sitemails_password"
port="25"
>

Now you can track problems using the cfmail log found in the cfadmin becuase you can now tell which domain is sending particular emails in case of an issue or abuse.
 
Back
Top