Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29919

Using PowerShell to Send a Mail Template with embedded Pic

$
0
0

Alright so this is tricky, or at least I think it is.

I want to send a list of recipients a welcome aboard email. Right now what I do is manually copy a mail in my Drafts folder in Outlook, appending the recipients and sending. Obviously that doesn't scale.

Sending mail with PowerShell is easy, sending HTML mail is easy; BUT I don't know how to send a mail that is based on this "template" which has two embedded PNGs (logos and such).

I wish I could something like:

$Body=OutLook.msg

Your thoughts?

PS Right now I am experimenting with saving the Outlook message as HTML, this could be entirely the wrong path.


Viewing all articles
Browse latest Browse all 29919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>