<cfloop query="A03"> <cfset THEFIN = A03.PTFIN> <cfset THEMRN = A03.PTMRN> <CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE="No"> <CFMAIL SUBJECT= "Discharge" FROM="[EMAIL PROTECTED]" TO="[EMAIL PROTECTED]; [EMAIL PROTECTED]" BCC="[EMAIL PROTECTED]" Type ="plain" > <cfmailparam name="Reply-to" value= "<[EMAIL PROTECTED]>"> #PTRoomNo# </CFMAIL> </CFPROCESSINGDIRECTIVE> <cfquery name="A03Yes" datasource="PTINFO"> update PTINFOIncident set MsgSent ='Yes' where PTFIN ='#THEFIN#' and PTMRN = '#THEMRN#' </cfquery> </cfloop>
Why is this generating this error? Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] ; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] If I open Outlook and send e-mail to [EMAIL PROTECTED] and [EMAIL PROTECTED], messages go through with no issue. If I send messages with CFMAIL, I get the error above. CF is connecting Outlook server, so I thought it should work fine. mailsend.log says: "Moved undelivered mail: Mail62781.cfmail to C:\CFusionMX/Mail/Undelivr directory" Mail62781.cfmail says: server: swexchange:25 from: [EMAIL PROTECTED] to: [EMAIL PROTECTED],[EMAIL PROTECTED] bcc: [EMAIL PROTECTED] subject: Discharge type: text/plain; charset=UTF-8 X-Mailer: ColdFusion MX Application Server body: body: N205 body: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220871 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

