Siebel Interactive Selling Transact Server Interface Reference > Email Bean API >


getErrorMessage function returns the error message posted when an email has failed to be sent. However, if the recipient mail server is down or the recipient email address is incorrect, the API cannot send the error messages back to Transact server.


public String getErrorMessage()


If the email failed to be sent (for example, sendMail returns false), call the getErrorMessage function to get a description of the error that occurred.


<script language=JavaScript>
alert("<%=Email.getErrorMessage() %>");

 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003