Skip to main content
Inspiring
October 12, 2012
Answered

cfmail authentication mod question...

  • October 12, 2012
  • 1 reply
  • 812 views

ok . I have a cf site for a long time... Seems like in the old days you could use cfmail tag with just a few params like...

<cfmail to="xxx"

from="xx"

subject="xxx"

server="xxx">

test

</cfmail>

but when working on a new site mod - NOW it seems that I need more authentication - with user and Pass like:

server="xxx" username="xxx" password="xxx">

More info: in reality the MX mail is NOW on a different server from the CF site - so maybe this could cause the needed change?

Q: Is this true?

This topic has been closed for replies.
Correct answer Carl Von Stetten

This really depends on your email server.  Are they using the same email software on its new server as they did when it was on the same box as ColdFusion?  Also, if you put the servername, username and password information into CF Administrator, you shouldn't need to include it in your <cfmail> tags.

-Carl V.

1 reply

Carl Von Stetten
Carl Von StettenCorrect answer
Legend
October 12, 2012

This really depends on your email server.  Are they using the same email software on its new server as they did when it was on the same box as ColdFusion?  Also, if you put the servername, username and password information into CF Administrator, you shouldn't need to include it in your <cfmail> tags.

-Carl V.

revdaveAuthor
Inspiring
October 14, 2012

Thanks Carl,

I checked with the email server people (new server 2) and they sais it was needed for security so all is good - thanks again.