OS2World.com Forum is back !!!Remember to visit OS2World at:http://www.os2world.com
Have found various "rexx-sendmail-programs" but none of them can be used since they don't support SSL.Tried PMMail, which receives mail ok, but unable to send. It has lots of configuration options so most likelyI have not set it up right, (so can't use PMMSEND for now). (Smtp configuration in Seamonkey is easy and works fine.)Some more searching lead me to:https://sourceforge.net/projects/rexxcurl/files/rexxcurl/2.0/rexxcurl20os2_RexxTrans.zip/downloadSeems like rexxcurl supports SSL and is the right tool.
It's not SMTP, but my IMAPADD script demonstrates how to use IMAP via REXX to add a message to the remote mail server.http://www.altsan.org/programming/rexx/index.html#imapaddI used to use it to have PMMail copy all incoming messages to my IMAP account.
IIRC, attachments have to be base64-encoded, but I don't know how they are appended to the message text.
IIRC there's a BASE64 encoder written in Rexx ("ENBASE64.CMD").
Quote from: Alex Taylor on May 04, 2019, 04:13:25 amIt's not SMTP, but my IMAPADD script demonstrates how to use IMAP via REXX to add a message to the remote mail server.http://www.altsan.org/programming/rexx/index.html#imapaddI used to use it to have PMMail copy all incoming messages to my IMAP account.So, PMMail already can use IMAP, instead of POP3???
Your script should write an email message into an IMAP folder.
But how could it help with sending emails with SMTP?