Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfmail and undeliverable folder

Status
Not open for further replies.

snix1

Programmer
Joined
Dec 12, 2000
Messages
107
Location
US
Hi! I am using CFMAIL and some of the mail is placed in the CFUSION/MAIL/UNDELIVR folder. I've checked those messages and the email address is not malformed in any way. (I thought that was why ColdFusion would do this...if an email address has two ampersands, or something like that). Does anyone know what's happening here? Thanks.
 
Coldfusion also creates a log file to say why the email was not sent. Have a look at the log file in cfusion/mail/log directory. it might be that these emails addresses do not exist or that coldfusion couldn't connect to your mail server at the time.

Have a look and post up the log error message if you are still having troubles

 
Thanks...I checked the mail log file in Administrator: Many error messages. Some of them said: "An unknown exception happened while attempting to process spooled mail. Polling will continue." And then later on: "Failed to send spooled mail...SMTP Server replied 'No connection to mail server' moved file" to undel, etc...

I assume this means the connection to the SMTP Mail server was lost. I know the email addresses are o.k. What would cause the connection to be lost? This is now happening with some frequency and I don't think I've seen it before.

 
can you connect to the mail server through the coldfusion administrator?

what email server are you using (MS exchange etc....) ?

can you post the code up that you are using
 
Hi again. Yes, I can connect to the Microsoft Exchange 5.5 Mail Server through the ColdFusion Adminstrator. The code is part of a CF Custom Tag loaded from their forum. I've used this code for a couple years now with no problem. Here is the CFMAIL portion:
<CFMAIL
TO=&quot;#ATTRIBUTES.To#&quot;
CC=&quot;#ATTRIBUTES.CC#&quot;
FROM=&quot;#ATTRIBUTES.From#&quot;
SUBJECT=&quot;#ATTRIBUTES.Subject#&quot;>
<CFMAILPARAM NAME=&quot;MIME-Version&quot; VALUE=&quot;1.0&quot;>
<CFMAILPARAM NAME=&quot;Content-Type&quot; VALUE=&quot;#CONTENTTYPE#&quot;>

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top