Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

CFMAIL and TLS

$
0
0

Hi all,

 

I am attempting SMTP authentication in my script and the email provider (Office365) is using TLS.  When I use the attribute useTLS="yes", CF throws a validation error.  I am running MX 6.1 and assuming the useTLS attribute is not supported.  Is there another way anyone can recommend sending TLS?

 

I'm not sure if this is related, but when I take out useTLS to get the script to run, the email is immediately moved to CF's Undelivr folder.  If Office365 was rejecting the email for lack of TLS, it wouldn't be moved to the Undelivr folder, right?

 

Here's my script, FYI:

 

<cfmail type="plain"

to="user@domain.com"

from="Webmaster<webmaster@domain.org>"

subject="This is a test!"

server="smtp.office365.com" port="587"

username="myusername"

password="mypassword">

Test email on #Dateformat(Now(), 'mm/dd/yyyy')#

</cfmail>

 

 

Thank you!


Viewing all articles
Browse latest Browse all 5794


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>