Skip to main content
Participating Frequently
October 12, 2006
Question

CF Mail Problems

  • October 12, 2006
  • 2 replies
  • 326 views
For the life of me I cannot get my CFmail to work. I have tried every setting possible and it will not send me the desired email. The server settings are correct, passwords etc. Is there any reason why this would not be working?

<cfmail to="jpeterson@transamericanproperties.com" from="info@fllandconnection.com" server="smtpout.secureserver.net" username="info@fllandconnection.com" password="*****" subject="Flandconnection Lead">
<!----here is my 'thank you for your order' letter---->
************************************************
Date: #dateformat(now(), "mm-dd-yy")#
Name: #firstname# #lastname#
Email: #email#
Phone: #phone#
*************************************************
Login to Fllandconnection.com and click "Interested" to view the details.


</cfmail>
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    October 12, 2006
    FYI:
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm

    Specifying mail servers
    The server attribute can specify one or more mail servers.
    Note: If you specify multiple mail servers in ColdFusion MX Standard, the cfmail tag uses only the
    first server in the specification. ColdFusion logs a warning message to the mail log file and ignores the
    additional servers.
    For each server, you can optionally specify a username, password, and port. These values override
    the corresponding attributes, if any. The server attribute has the following format:
    [user:password@]server[:port],[user:password@]server[:port],....
    For example, the following line specifies one server, mail.myco.com that uses the default port and
    no user or password, and a second server with a user, password, and specific port:
    server=mail.myco.com,mail_admin:adm2qzf@mail2.myco.com:24
    When you specify multiple mail servers in ColdFusion Enterprise, ColdFusion tries the available
    servers in the order they are listed until it connects to a server. ColdFusion does not try to connect
    to a server that was unavailable in the last 60 seconds.

    Hope this will help you.

    Thanks

    Sankalan
    (www.mindfiresolutions.com)
    Participating Frequently
    October 12, 2006
    Try with this one:

    <cfmail to="jpeterson@transamericanproperties.com" from="info@fllandconnection.com" server="info@fllandconnection.com:*****@fllandconnection.com" subject="Flandconnection Lead">
    <!--- ***** is your password --->
    <!----here is my 'thank you for your order' letter---->
    ************************************************
    Date: #dateformat(now(), "mm-dd-yy")#
    Name: #firstname# #lastname#
    Email: #email#
    Phone: #phone#
    *************************************************
    Login to Fllandconnection.com and click "Interested" to view the details.
    </cfmail>

    Thanks

    Sankalan
    (www.mindfiresolutions.com)