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


sendMail function sends the email.


public boolean sendMail(String to, String subject, String message)


String to
The recipient of the email

String subject

The subject for the email.

String message

The email message.


The sendMail function sends the email message given in the "message" parameter to the recipient specified in the "to" parameter with the subject in the "subject" parameter. This function returns true if the message is sent successfully or false if an error is encountered during send.


<% if (request.getParameter("To") != null) {
boolean mail_sent = Email.sendMail(request.getParameter("To"), request.getParameter("Subject"), request.getParameter("Message")));

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