|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfmail woes
Hi folks,Imperial, Robert 08/28/08 09:51 A Have you confirmed that the e-mail contains a proper e-mail address inIan Skinner 08/28/08 10:01 A Yes sir ;)Imperial, Robert 08/28/08 10:13 A > "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nestedJustin Scott 08/28/08 10:02 A Justin Scott wrote:Justin Scott 08/28/08 10:04 A That took care of it! Thanks Justin it's working like a charm, off toImperial, Robert 08/28/08 10:33 A 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 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. 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. > "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 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 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
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||