<< back to sysax.com Product page

11.4. Sending an Email message

The MailSend method can be used to send an email message.

Exhibit 11.7. IDL Definition of method to sending an email message


HRESULT MailSend ([in] BSTR b_address, [in] UINT n_port, [in] BSTR b_rcptname, [in] BSTR b_rcptemail, [in, defaultvalue("")] BSTR b_username, [in, defaultvalue("")] BSTR b_password);


Exhibit 11.8. Example usage of method to sending an email message (VBScript)


app.MailSend "mail.mailserver.com", 25, "joe rec", "joe@mydomain.com", "mailuser", "mailpass"