House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfmail woes

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi folks,
Imperial, Robert
08/28/08 09:51 A
Yes sir ;)
Imperial, Robert
08/28/08 10:13 A
Justin Scott wrote:
Justin Scott
08/28/08 10:04 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Imperial, Robert
08/28/2008 09:51 AM

Hi folks, I've run into an issue I cannot seem to resolve with sending mail via cfmail here. I'm trying to send a barebones test email and keep running into the following after initially setting the mail server to 127.0.0.1 and then setting it to the actual IP From the cf mail log- Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for bimperia@med.unc.edu And of course it drops it into the undeliverable folder never to be seen again. From the exception log- "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for bimperia@med.unc.edu " This is on a windows box running: IIS Windows 2003  Standard ColdFusion MX 7,0,2,142559 Standard This has baffled me since I have the same setup on a 2nd box that has no issue with sending emails and hasn't had for the past year or so. Any help or light to be shed would be greatly appreciated. Bob

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
08/28/2008 10:01 AM

Have you confirmed that the e-mail contains a proper e-mail address in the "TO" property? That is what I see in the error message.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Imperial, Robert
08/28/2008 10:13 AM

Yes sir ;) <cfmail to="bimperia@med.unc.edu"     from="dom-webmaster@med.unc.edu"         subject="testing email from domint">   Hello World! </cfmail> Have you confirmed that the e-mail contains a proper e-mail address in the "TO" property? That is what I see in the error message.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Justin Scott
08/28/2008 10:02 AM

> "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nested > exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to > relay for bimperia@med.unc.edu " It sounds as though your SMTP server isn't configured to relay messages for your ColdFusion server.  If this SMTP relay is ONLY used by your web server, then I would set the connection controls to only allow connections from localhost (127.0.0.1), and then set the relay restrictions to "allow all" (since only the localhost can connect, relay control becomes a moot point).  These settings are under the access tab in the SMTP properties in the IIS configuration. -Justin Scott

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Justin Scott
08/28/2008 10:04 AM

Justin Scott wrote: ----- Excess quoted text cut - see Original Post for more ----- Oh, and this assumes your SMTP server is on the same system as ColdFusion.  If that is not the case, put the IP address of your ColdFusion server into the connection list as well. -Justin Scott

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Imperial, Robert
08/28/2008 10:33 AM

That took care of it! Thanks Justin it's working like a charm, off to storm the castle now ;) Bob > "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nested > exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to > relay for bimperia@med.unc.edu " It sounds as though your SMTP server isn't configured to relay messages for your ColdFusion server.  If this SMTP relay is ONLY used by your web server, then I would set the connection controls to only allow connections from localhost (127.0.0.1), and then set the relay restrictions to "allow all" (since only the localhost can connect, relay control becomes a moot point).  These settings are under the access tab in the SMTP properties in the IIS configuration. -Justin Scott


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists