I can't reproduce locally, as this is an Enterprise only feature in the
admin. I know this is not hosteks fault, I just need it sorted. Hostek have
already stated the below response. The change suggested below, actually
does fix this at least it has been working fine for over 8 months, till
recently when the mail just keeps stopping every two days. And then I
started seeing other web applications emails in my sent folder.
Response from Hostek.
*We have identified the cause of the issue. The setting 'Maintain
connection to mail server' in the 'Mail' section of the CFAdmin is what is
causing this. If multiple sites on the server are using the same SMTP
server, such as '
smtp.gmail.com', this setting causes ColdFusion to re-use
that connection until it completes sending emails to that server that are
currently in the queue. So, if both sites send an e-mail with the same
10-15 second period, it re-used the first site's authentication credentials
since it did not re-establish the connection.
This is not an issue for sites using the default cfmail settings since the
local smtp service does not use username/password credentials, and it
improves performance for mail sent locally when there is a lot of mail
being sent. However, for now, I have disabled the 'Maintain connection to
mail server' option to prevent the issue when using external mail servers.
We will submit a bug report to Adobe suggesting that they treat CFMail
tags with different authentication credentials as if they were sending to
different servers (I.E. only use the same connection if the same
username/password are specified).
*
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356513