BookmarkSubscribeRSS Feed
JaySwan
Calcite | Level 5

I am working on a project that requires me to send out hundreds of emails from SAS.
I am able to create and attach attachments and send out the email via SAS, no problem there.

The problem is there are images that need to be added to the body of the email.

One thought is to have all these images placed on a DMZ web server and have me use html tags to point to the images...

However the email body is already a 'Outlook Form' (not familiar with forms in outlook) and if I can just access the form in my SAS code that would be great.

I have been poking around for papers on including a 'Outlook Form' but have not had any luck as of yet.

Is it possible to access a 'Outlook Form' stored in Outlook(?) from SAS code?

TIA, Jay

1 REPLY 1
JaySwan
Calcite | Level 5

Update

Something like this.... ( a lot of HTML cut do to inclusion of Outlook Form )

data _null_;

file outbox

     to = ('x@x.com')

       from = ("x <x@x.com>")

       sender = ("x <x@.com>")

     subject = 'TESTING: xxxxxxx'

     attach  = "some local location of an attachment…..."

     OutlookForm = ‘IsThisPossible’ (Want to display this pre-built Outlook Form)

     ;

run

Possible?

J

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Discussion stats
  • 1 reply
  • 959 views
  • 0 likes
  • 1 in conversation