9 Replies Latest reply on Mar 24, 2008 10:21 PM by Daverms

    Cfmail using google aps servers

    whereskris
      Hi I am just trying to get cfmail to send emails from my site using an account i have set up with google aps but i just won't work.

      Any suggestions would be greatly appreciated, he is my code

      <cfmail
      to = "#Appication.ToAdminEmailForError#"
      from = "#Appication.ToAdminEmailForError#"
      subject = "CAPP Error Notification '#Error.Template#', '#Error.Type#'"
      server = "smtp.gmail.com"
      username = "123@capp.net.au"
      password = "123"
      port = "465"
      type = "html">


      <html>
      <head>
      <title>Error Report</title>
      </head>
      <body>
      <b>Error.Template:</b> #Error.Template#<br>
      <b>Error.Browser:</b> <span class="Black">#Error.Browser#<br>
      <b>Error.Type:</b> #Error.Type#<br>
      <b>Error.Remoteaddress:</b> #Error.Remoteaddress#<br>
      <b>Error.HTTPReferer:</b> #Error.HTTPreferer#<br>
      <b>Error.Datetime:</b> #Error.datetime#<br>
      <b>URL.Parameters:</b> #Error.QueryString#<br>
      </span>
      <hr color="##3366cc">
      <span class="Black"><b>Error.Diagnostics:</b> #Error.diagnostics#</span>
      <hr color="##3366cc">
      <span class="Black"><br>
      <b>Error.MailTo:</b> #Error.Mailto#</span>
      </body>
      </html>
      </cfmail>