Link to home
Start Free TrialLog in
Avatar of Tek Info
Tek Info

asked on

Email script to use Office365 with Port 587

I would like a script that I can modify to be able to the following:

Use Office365 smtp
Port 587
TLS
to accept username and password
have a pdf attachment to it called 1.pdf
Send to a distribution list from. EmailList.txt
Avatar of oBdA
oBdA

Isn't this a duplicate of https://www.experts-exchange.com/questions/29164501/Modify-script-to-use-Office365-and-port-587.html or am I missing a deeper purpose here?
Avatar of Tek Info

ASKER

This is not a duplicate.
Do not delete.
The is a separate question.
The script here is not defined whether it is Powershell, VB, batch.. it's an open question and deserves and answer.
ASKER CERTIFIED SOLUTION
Avatar of ITguy565
ITguy565
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial