Hello Team
Am facing the issue while sending and email from power shell , send-mailmessage
The Error :
==============================================================================
Send-MailMessage : Mailbox unavailable. The server response was: 5.7.1 Message rejected as spam by Content Filtering.
At line:1 char:17
+ Send-MailMessage <<<< -SmtpServer HUBSERVERNAME -To administrator@labbites.co.in -From "mbxrep@labbites.co.in" -Subje
ct "mbx Report" -Attachments $file -Body "Hiaa"
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpExcept
ion
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
================================================================================
But from OWA we can able to send and receive the email.
I have change this value Reject messages that have a SCL rating greater than or equal to from 0 to 7. but still am getting the same error.
Could you please help me, to resolve or over come this issue.
Am facing the issue while sending and email from power shell , send-mailmessage
The Error :
==============================================================================
Send-MailMessage : Mailbox unavailable. The server response was: 5.7.1 Message rejected as spam by Content Filtering.
At line:1 char:17
+ Send-MailMessage <<<< -SmtpServer HUBSERVERNAME -To administrator@labbites.co.in -From "mbxrep@labbites.co.in" -Subje
ct "mbx Report" -Attachments $file -Body "Hiaa"
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpExcept
ion
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
================================================================================
But from OWA we can able to send and receive the email.
I have change this value Reject messages that have a SCL rating greater than or equal to from 0 to 7. but still am getting the same error.
Could you please help me, to resolve or over come this issue.
ramakrishnan