Thanks Vice, that does seem to be the problem. I changed the security on the specific file and it did flow through.
- Log in to post comments
Thanks Vice, that does seem to be the problem. I changed the security on the specific file and it did flow through.
Thanks Eduard, simple HTML answer, I appreciate it!
Jeffrey this works!
I will be making variations on this as we have 49 unique locations to populate automatically in the body of the email message. However, my test went through. To come full circle, if anyone else is looking for something like this... We are sending out "How are we doing surveys" after a clinical appointment with our Hospital and outpatient services. Based on a patient email, and the location in which they were seen, they will receive the survey (embedded in a URL).
Thanks!
Thanks for your follow up Jeff! Hopefully today I can set this up in our TEST environment, I'll let you know the outcome.
Thanks Mark,
I am just getting started with Ensemble so forgive me for being naïve...excited to give this a try!
When I am looking at the example
ClassMethodCreateTextMessage()As%Net.MailMessage
{
Setmsg=##class(%Net.MailMessage).%New()
setmsg.From="test@test.com"
Domsg.To.Insert("xxx@xxx.com")
Domsg.Cc.Insert("yyy@yyy.com")
Domsg.Bcc.Insert("zzz@zzz.com")
Setmsg.Subject="subject line here"
Setmsg.IsBinary=0
Setmsg.IsHTML=0
Domsg.TextData.Write("This is the message.")
Quitmsg
}
My biggest hurdle is finding a way for the message to insert PID-13-4 (email address) into the "Domsg.To.Insert___"
Anyone have any thoughts?
When I am looking at the example
ClassMethodCreateTextMessage()As%Net.MailMessage
{
Setmsg=##class(%Net.MailMessage).%New()
setmsg.From="test@test.com"
Domsg.To.Insert("xxx@xxx.com")
Domsg.Cc.Insert("yyy@yyy.com")
Domsg.Bcc.Insert("zzz@zzz.com")
Setmsg.Subject="subject line here"
Setmsg.IsBinary=0
Setmsg.IsHTML=0
Domsg.TextData.Write("This is the message.")
Quitmsg
}
My biggest hurdle is finding a way for the message to insert PID-13-4 (email address) into the "Domsg.To.Insert___"
Anyone have any thoughts?
Great thanks Jeffrey! I will take a look at the overview thank you for the direction.