Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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/
Copy link to clipboard
Copied
+1 your going to need a mail server of some sort (even IIS with SMTP installed might be enough to trick to undeliver).
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more