|
Send the email via the server PC.
syntax
SendMail(
loginType,
encoding,
pop3Server,
smtpServer,
account,
password,
pop3Port,
smtpPort,
reserve,
bSupportSSL,
from,
to,
cc,
bcc,
subject,
message,
attachedFiles,
bWait,
timeOut
)
Parameters
loginType
|
|
Type:
|
character
|
|
Select the authentication method from the following:
"NONE" - No email authentication
"POPBEFORESMTP" - Pop Before SMTP
"SMTPAUTH_LOGIN" - SMTPAUTH(LONGIN)
"SMTPAUTH_PLAIN" - SMTPAUTH(PLAIN)
"SMTPAUTH_CRAMMD5" - SMTPAUTH(CRMMD5)
"SMTPAUTH_DIGESTMD5" - SMTPAUTH(DIGESTMD5)
|
encoding
|
|
Type:
|
character
|
|
Select the character encoding method for Send mail from the following.
"SHIFT_JIS"
"ISO_2022_JP"
"UTF_8"
|
pop3Server
|
|
Type:
|
character
|
|
The address of the receiving mail server (POP3 server).
|
smtpServer
|
|
Type:
|
character
|
|
The address of the outgoing mail server (SMTP server).
|
account
|
|
Type:
|
character
|
|
Account name.
|
password
|
|
Type:
|
character
|
|
password.
|
pop3Port
|
|
Type:
|
character
|
|
The port number of the receiving mail server (POP3 server).
|
smtpPort
|
|
Type:
|
character
|
|
The port number of the outgoing mail server (SMTP server).
|
reserve
|
|
Type:
|
Boolean
|
|
Fixed value: FALSE (F)
|
bSupportSSL
|
|
Type:
|
Boolean
|
|
When TRUE, an encrypted connection (SSL) is used.
|
from
|
|
Type:
|
character
|
|
Sender.
|
to
|
|
Type:
|
character
|
|
address.
|
cc
|
|
Type:
|
character
|
|
CC (Carbon Copy).
|
bcc
|
|
Type:
|
character
|
|
BCC (Blind Carbon Copy).
|
subject
|
|
Type:
|
character
|
|
subject.
|
message
|
|
Type:
|
character
|
|
The email body.
|
attachedFiles
|
|
Type:
|
character
|
|
Attachments. If you want to send multiple files, separate them with a semicolon ";".
|
bWait
|
|
Type:
|
Boolean
|
|
If the value is TRUE, the method will wait until the email has been sent.
|
timeOut
|
|
Type:
|
Number
|
|
Timeout time for Send mail processing (ms). When the timeout occurs, Send mail is forcibly stopped.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Send the email. The email will be sent via the server.
|
Supported
|