C# Class LitDev.LDEmail

显示文件 Open project: litdev1/LitDev

Public Methods

Method Description
Send ( ) : Primitive

Send an email. The default Smtp client is "smtp.gmail.com" and the default port is 587. The following and other email clients may also work. "smtp.live.com" (Hotmail) "smtp.mail.yahoo.com" A minimum of the "From, Password and Recipient" properties must be set first. The "From" and "Password" properties should be your email credentials for the client. Additionally you should set the "Subject and Body" properties. The "Attachment" property may be optionally set to a full file path, "" for no attachment. No more than 1 email per minute can be sent.

Method Details

Send() public static method

Send an email. The default Smtp client is "smtp.gmail.com" and the default port is 587. The following and other email clients may also work. "smtp.live.com" (Hotmail) "smtp.mail.yahoo.com" A minimum of the "From, Password and Recipient" properties must be set first. The "From" and "Password" properties should be your email credentials for the client. Additionally you should set the "Subject and Body" properties. The "Attachment" property may be optionally set to a full file path, "" for no attachment. No more than 1 email per minute can be sent.
public static Send ( ) : Primitive
return Primitive