Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF8 v. CF9 mail settings

New Here ,
Jan 06, 2011 Jan 06, 2011

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?

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 06, 2011 Jan 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2011 Jan 06, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 06, 2011 Jan 06, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 06, 2011 Jan 06, 2011
LATEST

+1 your going to need a mail server of some sort (even IIS with SMTP installed might be enough to trick to undeliver).


One thing I like to do to see what is going on with the CFMAIL delivery (where mail server is 10.0.0.1):
telnet 10.0.0.1 23
helo
mail from:sender@address.com
rcpt to:reciever@address.com
data
.


HTH, Carl.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources