Email PowerShell发送邮件和Microsoft Exchange 2007
我在使用Microsoft Exchange 2007发送电子邮件时遇到问题 我在另一台机器上使用了完全相同的powershell代码,它会发送电子邮件 它给出的错误消息是:Email PowerShell发送邮件和Microsoft Exchange 2007,email,powershell,smtp,exchange-server,Email,Powershell,Smtp,Exchange Server,我在使用Microsoft Exchange 2007发送电子邮件时遇到问题 我在另一台机器上使用了完全相同的powershell代码,它会发送电子邮件 它给出的错误消息是: Send-MailMessage : Mailbox unavailable. The server response was: 5.7.1 Unable to relay At C:\Users\alex\Desktop\Email.ps1:37 char:29 + Send-MailMessag
Send-MailMessage : Mailbox unavailable. The server response was: 5.7.1 Unable to relay
At C:\Users\alex\Desktop\Email.ps1:37 char:29
+ Send-MailMessage <<<< @Parameters
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpFailedRecipientException
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
发送邮件消息:邮箱不可用。服务器响应为:5.7.1无法中继
在C:\Users\alex\Desktop\Email.ps1:37 char:29
+Send MailMessage用于中继的接收连接器可能没有运行脚本的计算机的IP地址。您需要在Exchange服务器上对此进行检查