Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfset mailAttributes = {
- server="smtp.gmail.com",
- username="el.barto@gmail.com",
- password="eatmyshorts",
- from="el.barto@gmail.com",
- to="homer@thesimpsons.com",
- subject="Eat my shorts, man!"
- }
- />
- <cfmail port="465" useSSL="true"
- attributeCollection="#mailAttributes#"
- >port 465, SSL enabled</cfmail>
- <cfmail port="587" useTLS="true"
- attributeCollection="#mailAttributes#"
- >port 587, TLS enabled</cfmail>
- <cfmail port="465" useSSL="true" useTLS="true"
- attributeCollection="#mailAttributes#"
- >port 465, SSL and TLS enabled</cfmail>
Add Comment
Please, Sign In to add comment