smtp.SMTPMessage
SMTPMessage is a message to be sent over SMTP
Example
• new SMTPMessage(): SMTPMessage
smtp.ts:89
▸ Auth(username
): SMTPMessage
Auth when called authenticates using username and password before sending the message
Name | Type |
---|---|
username | string |
Example
smtp.ts:155
▸ Body(msg
): SMTPMessage
Body adds the message body to the message
Name | Type |
---|---|
msg | Uint8Array |
Example
smtp.ts:141
▸ From(email
): SMTPMessage
From adds the from field to the message
Name | Type |
---|---|
email | string |
Example
smtp.ts:99
▸ String(): string
String returns the string representation of the message
string
Example
smtp.ts:173
▸ Subject(sub
): SMTPMessage
Subject adds the subject field to the message
Name | Type |
---|---|
sub | string |
Example
smtp.ts:127
▸ To(email
): SMTPMessage
To adds the to field to the message
Name | Type |
---|---|
email | string |
Example
smtp.ts:113
smtp.SMTPMessage
SMTPMessage is a message to be sent over SMTP
Example
• new SMTPMessage(): SMTPMessage
smtp.ts:89
▸ Auth(username
): SMTPMessage
Auth when called authenticates using username and password before sending the message
Name | Type |
---|---|
username | string |
Example
smtp.ts:155
▸ Body(msg
): SMTPMessage
Body adds the message body to the message
Name | Type |
---|---|
msg | Uint8Array |
Example
smtp.ts:141
▸ From(email
): SMTPMessage
From adds the from field to the message
Name | Type |
---|---|
email | string |
Example
smtp.ts:99
▸ String(): string
String returns the string representation of the message
string
Example
smtp.ts:173
▸ Subject(sub
): SMTPMessage
Subject adds the subject field to the message
Name | Type |
---|---|
sub | string |
Example
smtp.ts:127
▸ To(email
): SMTPMessage
To adds the to field to the message
Name | Type |
---|---|
email | string |
Example
smtp.ts:113