更新时间:2022-12-07 19:53:33
您已将deliveryMethod
指定为SpecifiedPickupDirectory
,这使得它实际上并未发送邮件.而是将其保存在您提到的文件夹中的硬盘上.将其设置为network
,它将发送电子邮件.您还需要设置密码和用户名以及端口号和主机.
有关发送邮件的更多详细信息,请查看MSDN文章,此处 [^ ] .
You have specified thedeliveryMethod
to beSpecifiedPickupDirectory
this makes it not send the mail actually. Instead it saves on your hard disc in the folder you mentioned. Set it tonetwork
and it will send the email. You also need to setup the password and the username along with port number and host.
For more details on sending mail, check out the MSDN article, here[^].