Is it possible to send an email using system.net.sendEmail that will be HTML and have the attached image embedded in the body of the email? If so does someone have an example? I see in the documentation there was some support for MIME, but the examples do not go into detail about how it works or how to use it.
I would be surprised if you can get this to work within the boundaries of our scripting functions, but it would probably be possible to write a script to run on the gateway that accesses the underlying Java mail APIs and does this for you.
Well, I did have it working 7.9 using smtplib and email, but for some reason in 8.1 when I go to use smtp sendmail and the file is over 56 kb it times out. still works perfectly fine in 7.9 against the same email server. I was hoping there was native support for embedded images.
I tried importing javax.mail but is says there is no module named mail. I am on 8.1.32
Just caught that you said on the gateway. I just tried importing javax.mail from with the gateway scope and that works. I will give that a try.