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

Cfmail Not executing on my Localhost?

Participant ,
Aug 18, 2007 Aug 18, 2007
I'm using <cfmail> on my local server, but the emails are not being sent out.
I tested the server in CF Administrator an it says that it is able connect to the Windows SMTP server successfully. Any clues as to why Cfmail would not trigger on my Local Host.
TOPICS
Advanced techniques
1.5K
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
Explorer ,
Aug 18, 2007 Aug 18, 2007
What does your mail log say when you try to send mail while one localhost? Any other error logs?
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
Participant ,
Aug 20, 2007 Aug 20, 2007
All of the messages I tried to send using CFMAIL are just sitting in the QUEUE folder at:
C:\Inetpub\mailroot\Queue

The headers in the email say:

"Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server."


I dont get why they dont execute. They're just regular email addresses. Do you leave the username and password attributes blank? My SMTP server has all anonymous access set up and Coldfusion Admin even says it connects to the server but the emails wind up in the QUeue folder.
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
Contributor ,
Aug 21, 2007 Aug 21, 2007
well technically cfmail is working - messages sent via cfmail start life in the <cfusion>/mail/spool folder - that then passes them to the configured mail server in the cf administrator or via the server attribute in cfmail tag. If there was a mail problem (as in the defined SMTP server is unavailable) you'd find your message in <cfusion>/mail/Undeliv.

So if your message have made it to the c:\inetpub folder then they've been processed perfectly by CF and handed over to the SMTP Server configured under IIS - i'm pretty sure you need to configure it to pass messages to a proper SMTP service (which the one in IIS isn't - it's a Virtual SMTP server).

hope that helps
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
Participant ,
Aug 21, 2007 Aug 21, 2007
LATEST
So you can't really test cfmail locally? I used to test ASPmail locally using IIS; I guess I thought it was similar.
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