与えられたアドレス、件名、本文でユーザーのデフォルトのメールクライアントを開きます。
#include <INet.au3>
_INetMail ( $s_MailTo, $s_MailSubject, $s_MailBody )
パラメータ
$s_MailTo | E-Mailのアドレス |
$s_MailSubject | E-Mailの件名 |
$s_MailBody | E-Mailの本文 |
返し値
成功: | E-Mailクライアントのプロセス識別子 |
失敗: | 0を返し、@errorを非ゼロに設定します。 |
注意
なし。
関連
_INetSmtpMail
例
#include <INet.au3>
$Address = InputBox('Address', 'Enter the E-Mail address to send message to')
$Subject = InputBox('Subject', 'Enter a subject for the E-Mail')
$Body = InputBox('Body', 'Enter the body (message) of the E-Mail')
MsgBox(0,'E-Mail has been opened','The E-Mail has been opened and process identifier for the E-Mail client is ' & _INetMail($address, $subject, $body))