Enterprise Software Thread, Powershell Send-MailMessage & Exchange 2010 in Technical; When using powershell to send emails, Exchange either puts it into Junk or Quarantines it. The odd thing is that ...
5th March 2013, 10:35 AM #1
Powershell Send-MailMessage & Exchange 2010
When using powershell to send emails, Exchange either puts it into Junk or Quarantines it. The odd thing is that it was working and in fact I have 1 script that that still works but any other script I create now gets put into Junk or Content Filtering blocks it with 5.2.1.
Did some testing and altered the one that works, seems that if I alter it too much then it starts ending up in Junk. Any ideas how I can stop it from being filtered out by Exchange?
IDG Tech News
5th March 2013, 04:47 PM #2
What AS agents are you running on Exch? Have you tried adding a bypass for the sender?
7th March 2013, 11:20 AM #3
All of them and I did test with the sender in the exception list of Content Filtering but that didnt seem to do anything. Not sure how some automated/scripted emails are unfiltered but others are.
EDIT: Actually come to think of it, I havent set the sender in the exceptions list but this does mean no emails are filtered by this email so am hoping for a better solution.
Last edited by apeo; 7th March 2013 at 11:38 AM.
7th March 2013, 12:39 PM #4
Seems the best solution I can come up with, is to add the first sentence as an Allowed Phrase.
7th March 2013, 02:04 PM #5
It means emails are bypassed for content filtering. I assume you trust the app/script which relays off Exch? If yes, why would you be concerned for AS filtering.
7th March 2013, 02:12 PM #6
I'm not so much concerned about adding a phrase but I wouldnt want to add an email as that means all emails from that sender is bypassed.
Just curious as to why it was tagged as junk/spam and it means any further scripts will probably require more phrases added.
7th March 2013, 05:04 PM #7
Check the agent logs.
I assume that that email address is only known to IT/You so what concerns are there?
By sfoord in forum Windows Server 2008
Last Post: 21st August 2013, 03:53 PM
Last Post: 2nd March 2011, 01:35 PM
Last Post: 10th February 2011, 08:57 AM
By faza in forum How do you do....it?
Last Post: 14th January 2011, 09:59 AM
By bodminman in forum Windows Server 2008
Last Post: 10th November 2010, 10:34 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)