[This object is no longer supported. Please use IExecAction with the powershell Send-MailMessage cmdlet as a workaround.]
For scripting, gets or sets the name of the SMTP server that you use to send email from.
This property is read/write.
EmailAction.Server As String
The name of the server that you use to send email from.
Make sure the SMTP server that sends the email is setup correctly. E-mail is sent using NTLM authentication for Windows SMTP servers, which means that the security credentials used for running the task must also have privileges on the SMTP server to send email message. If the SMTP server is a non-Windows based server, then the email will be sent if the server allows anonymous access. For information about setting up the SMTP server, see SMTP Server Setup, and for information about managing SMTP server settings, see SMTP Administration.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2008 [desktop apps only]
|End of client support
|End of server support
||Windows Server 2008 R2