CTI32 Class Library

cti.SendEmail Method 

Sends out an e-mail over the internet.

[Visual Basic]
Public Shared Function SendEmail( _
   ByVal to As String, _
   ByVal from As String, _
   ByVal sub As String, _
   ByVal msg As String, _
   ByVal attachment As String, _
   ByVal mail_server As String _
) As Integer
[C#]
public static int SendEmail(
   string to,
   string from,
   string sub,
   string msg,
   string attachment,
   string mail_server
);

Parameters

to
Who the message is to. Separate by commas for multiple recipients.
from
Who the message is from
sub
The subject of the message
msg
The body of the message
attachment
File attachments. Comma separated.
mail_server
A mail server to send through. (i.e. mail.you.com) or IP address.

Return Value

0 if successful.

See Also

cti Class | CTI32NetLib Namespace