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

getMailSent


getMailSent function determines whether an email was sent successfully. 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 boolean getMailSent()

Usage

The getMailSent function returns a true/false Boolean value indicating whether or not the email was sent successfully.

Example

<% if (!Email.getMailSent()) { %>
<script language = "JavaScript">
alert (`Your mail was not sent!');
</script>

<% }%>


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