Skip to main content
Inspiring
August 1, 2010
Question

cfmail

  • August 1, 2010
  • 1 reply
  • 449 views

Hi,

Can I use the <cfmail> tag and and test if its working correctly on my localhost or do i need to put everything online?  If I can test it on localhost, what settings do I need to fill out in the Coldfusion Administrator?

    This topic has been closed for replies.

    1 reply

    Inspiring
    August 2, 2010

    As long as you specify an IP address in the "Mail Server" option, then <cfmail> will work.  The IP address does not need to be that of a valid SMTP server.

    If there is a routing problem - like if that IP address above doesn't point to a valid server - then any mail sent will find its way into the [coldfusion]mail/undelivr dir.  And you can check the email from there.

    There is documentation as to how CF deals with email, too:

    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-70fc.html

    --

    Adam