Gmail Helper Class Library

GmailMessage.SendFromGmail Method 

Sends an email through the specified gmail account

[Visual Basic]
Shared Public Sub SendFromGmail( _ 
   ByVal gmailUserName As String, _ 
   ByVal gmailPassword As String, _ 
   ByVal toAddress As String, _ 
   ByVal subject As String, _ 
   ByVal messageBody As String _ 
)
[C#]
public static void SendFromGmail(
   string gmailUserName,
   string gmailPassword,
   string toAddress,
   string subject,
   string messageBody
);
[C++]
public: static void SendFromGmail(
   String* gmailUserName,
   String* gmailPassword,
   String* toAddress,
   String* subject,
   String* messageBody
);
[JScript]
public static function SendFromGmail(
   String gmailUserName,
   String gmailPassword,
   String toAddress,
   String subject,
   String messageBody
);

Parameters

gmailUserName
The username of the gmail account that the message will be sent through
gmailPassword
The password of the gmail account that the message will be sent through
toAddress
Recipients email address
subject
Message subject
messageBody
Message body

See Also

GmailMessage Class | RC.Gmail Namespace