UtilEASendMailHotmailSender Method
Sends an E-Mail through Hotmail.
Namespace: DevCase.ThirdParty.EASendMailAssembly: DevCase.net48.ThirdParty.EASendMail (in DevCase.net48.ThirdParty.EASendMail.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void HotmailSender(
string username,
string password,
string fromAddress,
string toAddress,
string subject,
string body,
string[] attachments = null
)
Public Shared Sub HotmailSender (
username As String,
password As String,
fromAddress As String,
toAddress As String,
subject As String,
body As String,
Optional attachments As String() = Nothing
)
Dim username As String
Dim password As String
Dim fromAddress As String
Dim toAddress As String
Dim subject As String
Dim body As String
Dim attachments As String()
UtilEASendMail.HotmailSender(username, password,
fromAddress, toAddress, subject,
body, attachments)
public:
static void HotmailSender(
String^ username,
String^ password,
String^ fromAddress,
String^ toAddress,
String^ subject,
String^ body,
array<String^>^ attachments = nullptr
)
static member HotmailSender :
username : string *
password : string *
fromAddress : string *
toAddress : string *
subject : string *
body : string *
?attachments : string[]
(* Defaults:
let _attachments = defaultArg attachments null
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- username String
-
The Hotmail account username.
- password String
-
The Hotmail account password.
- fromAddress String
-
The sourceHotmail address.
- toAddress String
-
The destiny address.
- subject String
-
The mail subject.
- body String
-
The mail body.
- attachments String (Optional)
-
The mail attachments.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
EASendMail
This is a code example.
No code example is currently available or this language may not be supported.
HotmailSender(username:="username",
password:="pass",
fromAddress:="name@hotmail.com",
toAddress:="someone@gmail.com",
subject:="Mail subject",
body:="Mail body",
attachments:={"C:\File1.ext", "C:\file2.ext"})
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.