Skip to main content
Participant
July 17, 2009
Question

authenticated email form

  • July 17, 2009
  • 1 reply
  • 1787 views

I am trying to create a cfmail form. the problem is that I have never had to create one in which i had to use the smtp.mywebsite.ca the username and the password. never seen them done this way. anyone offer any help or advice.

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    July 28, 2009

    It's all there in the cfmail livedocs. Check out the example. All you need to do is add the following attribute to the cfmail tag:

    server="your_username:your_password@smtp.yourwebsite.ca"

    Participant
    August 12, 2009

    Does this work in CF 5 (I know - I'm behind the times here ...).  I am trying to use CFMAIL with port 465, and need to specify a username and password to log into the server.  Is that possible with CF5?