Skip to main content
Known Participant
January 6, 2011
Question

CF8 v. CF9 mail settings

  • January 6, 2011
  • 1 reply
  • 1277 views

I have a question regarding mail server administration and behavior

On CF8 i was able to set my mail server to 127.0.0.1.  When i did this, the mail would simply go to my undelivr folder since CF is actually not an SMTP server.

I am trying to do the same thing in CF9, however i must have the settings wrong, because my undelivr folder is empty (<cfdirectory>\Mail\Undelivr)  I poked around, and according to the mailsent.log (<cfdirectory>\logs\mailsent.log) the mail is going out and the mail.log contains no errors(nor does exception), however it's then disappearing as the recipient does not receive the mail.

I'd really like it to work as it did before, however i'm not sure what the settings should be for that in CF9.  Is it possible? or do i need to install an SMTP server on my dev box in order to see the emails?

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    January 6, 2011

    IF the logs are showing the files are being sent and the undeliverable folder is empty.

    There must be a mail server running somewhere on that box.

    mikiAuthor
    Known Participant
    January 6, 2011

    OK, well there wasn't before i installed cf9.  If you were looking on a Windows XP Pro laptop for 'a mail server running somewhere on that box' where would you look? And what would you look for?

    Community Expert
    January 6, 2011

    If I were looking for a mail server, I'd either telnet to TCP/22 and try an SMTP session (google "smtp telnet" for details) or I'd use netstat to see if there's a listener on TCP/22. My guess is that you don't have a mail server. In all honesty, I wouldn't have expected CFMAIL to work in the absence of a mail server that can't ever be verified. I just install a mail server and use that. My current favorite for this is Apache James - it's easy to install and pretty easy to configure.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Dave Watts, Eidolon LLC