0 Replies Latest reply on Jan 10, 2008 8:24 AM by HandersonVA

    when email cannot be delievered

    HandersonVA
      Hello, when email cannot be delievered because of the mail server connection or authentication fails, what can I give an error message to users to inform that this issue is an mail server problem and not an application issue.

      <cfif IsDefined("variables.emailfromstring")>
      <!--- subject for email --->
      <cfset variables.emailsubjectmsg = "#moduletitle# Notification">
      <cfmail to="#variables.emaitostring#" cc="#variables.emailccstring#" from="#variables.emailfromstring#" subject="#variables.emailsubjectmsg#" type="html" spoolenable="No">
      <b>Date:</b> #dateformat(Now(),"m/d/yyyy")# #timeformat(Now(), "h:mm:ss tt")#<br />
      </cfmail>
      </cfif>