none
VbScript to send email by using Exchange without Outlook or SMTP Server. RRS feed

  • Question

  • Hi everyone,

    I need to construct a VBSCRIPT that should be executed at Login time, and that send an email to external domain using the user mailbox. The user(s) doesn't have Outlook installed on his workstation, but OWA, and can't use the SMTP Server due relay restrictions. Also, I don't want the user insert his credentials again after login when the script executes, for don't compromise them. I've been trying to follow this article: https://msdn.microsoft.com/en-us/library/aa494235(v=exchg.80).aspx but it seems it was written for Exchange 2007. I have been using both DSQUERY and ADSI Edit tools for locating the mailbox URL but I haven't been able to get it. Could you please let me know how can I get the mailbox URL of an specific user in Exchange 2012, better using Active Directory, or how can I  get the User Credentials after login, in such a way they can be used for sending authenticated emails to outside?. 

    Thank you in advance.

    Thursday, November 10, 2016 5:40 PM

All replies