Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference > Email Bean API >
getErrorMessage
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.
Syntax
public String getErrorMessage()
Usage
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.
Example
<script language=JavaScript>
alert("<%=Email.getErrorMessage() %>");
</script>
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference Published: 18 April 2003 |