Thanks Michael.  I did it.

Regards
Mathew



-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Michael B. Smith
Sent: Tuesday, June 21, 2016 4:40 PM
To: [email protected]
Subject: [Exchange] RE: Exchange 2010 - relay mail using script from edge server

Google "exchange anonymous relay".

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Liby Philip Mathew
Sent: Tuesday, June 21, 2016 2:06 AM
To: Admin Issues ([email protected])
Subject: [Exchange] Exchange 2010 - relay mail using script from edge server

Hi,
I am modifying one of the script which I found on the net.  The script is to 
send an email to an internal and external address, if there is a mail queue 
that exceeds a threshold.
I am able to send to my internal users.  But I want the same mail to be 
delivered to and external address such as gmail.  When I run the script, the 
script returns the error related to relay as below:

Exception calling "Send" with "1" argument(s): "Mailbox unavailable. The server 
response was: 5.7.1 Unable to relay"

Can someone help me achieve this task to relay the mail from the edge server to 
external address?

TIA
Mathew



Disclaimer

[The information contained in this e-mail message and any attached files are 
intended solely for the use of the individual or entity to whom they are 
addressed. This transmission may contain information that is confidential, Path 
Solutions Private, or exempt from disclosure under applicable law and/or Path 
Solutions information security policy. The receiver of this communication shall 
not transmit any part of this message unless the email subject clearly classify 
it as “Public” or a written permission has been given by the information assets 
owner. If you have received this e-mail in error, please notify the sender 
immediately and delete all copies, any disclosure, copying, distribution, or 
use of the information contained herein is STRICTLY PROHIBITED. Path Solutions 
accepts no responsibility for any errors, omissions, computer viruses and other 
defects.]

P Protect our planet: Do not print this email unless necessary.
Disclaimer

[The information contained in this e-mail message and any attached files are 
intended solely for the use of the individual or entity to whom they are 
addressed. This transmission may contain information that is confidential, Path 
Solutions Private, or exempt from disclosure under applicable law and/or Path 
Solutions information security policy. The receiver of this communication shall 
not transmit any part of this message unless the email subject clearly classify 
it as “Public” or a written permission has been given by the information assets 
owner. If you have received this e-mail in error, please notify the sender 
immediately and delete all copies, any disclosure, copying, distribution, or 
use of the information contained herein is STRICTLY PROHIBITED. Path Solutions 
accepts no responsibility for any errors, omissions, computer viruses and other 
defects.]

P Protect our planet: Do not print this email unless necessary.

Reply via email to