• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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