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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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