This method sends email.

[C++Builder] [ long = ] controlname->PS3SendMail()
[Delphi] [ Integer = ] controlname.PS3SendMail
[Visual Basic] [ Long = ] controlname.PS3SendMail
[VisualC++] [ long = ] controlname.PS3SendMail()

Parameters

None

Return Value

Return Value Explanation
0 Message Sent
1 Must have Winsock version 1.1 or above
2 Unable to find the SMTP mail server
3 Unable to open mail server socket
4 Failed to connect to mail server socket
5 Incorrect or missing property settings
6 Memory error
7 Transmission error

Explanation

The PS3SendMail method sends email. It is used by the Pr3passGen.ocx to send the generated password to the enduser so that the application can be unlocked. Before executing this method, appropriate values must be set in the szMailSvrAddr, szFromAddr, szFromHdr, szToAddr, szToHdr, szSubject, and szMessage properties.

If using a dial up connection, please be sure you are connected before executing this method.