Sending email in html format (OpenInsight 32-bit Specific)
At 27 SEP 2007 07:50:30AM Nick Stevenson wrote:
Can anyone tell me if you can send email in html format using SENDMAIL? Thanks.
At 27 SEP 2007 08:40AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Is there a reason not to use SMTPMAIL?
World leaders in all things RevSoft
At 27 SEP 2007 08:46AM Nick Stevenson wrote:
SMTPMAIL doesn't appear to cater for attachments.
At 27 SEP 2007 02:41PM dsigafoos wrote:
Doesn't that require 'office' or similar?
At 27 SEP 2007 05:02PM [url=http://www.srpcs.com]SRP[/url]'s Kevin Fournier wrote:
This threaddiscusses several emailing tools available to you.
kfournier@srpcs.com
At 28 SEP 2007 03:57AM Nick Stevenson wrote:
SMTPMAIL works fine sending email in html format. I just can't add attachments.
The OI options appear to be:
SENDMAIL - sends in text format with attachmentsSMTPMAIL - sends in html format with no attachments
At 28 SEP 2007 12:52PM Karen Oland wrote:
don't forget:
use BLAT(.dll) and do both
purchase a 3rd party OI email tool and even more functions, such as authentication and port redirection (our mail server requires both, which was impossible to achieve with built in tools or blat).
At 29 SEP 2007 02:43PM Nick Stevenson wrote:
Karen, thank you - blat.exe works perfectly!
At 29 SEP 2007 03:54PM Warren Auyong wrote:
You may find the dll version easier to use. The Utility RUNWIN gets cumbersome and sometimes unusable with complex command lines full of spaces and quotes.
This is the DLL_BLAT prototype I use in the SYSPROCS file, you can declare it as whatever you like, I just happened to use SENDEMAIL. After declaring the prototype just declare whatever function name you gave it and pass it the BLAT command line:
BLAT
UINT STDCALL Send(LPCHAR) AS SENDEMAIL
In Basic+
Declare Function SendEmail
commandline=-to tim@blat.tld -f tim@blat.tld -s "Test Blat" -server localhost -debug -log blat.log -timestamp -x "X-Header-Test: Can Blat do it? Yes it Can!"'
result=SendEmail(commandline)
At 06 OCT 2007 04:11AM Nick Stevenson wrote:
Thanks Warren, that's great.
At 07 OCT 2007 01:17AM Steve Smith wrote:
The idea was that sendmail was for simple notifications (like telling users that they are stupid, in Courier 10 pt) and smtpmail was for multipart mime / HTML (telling the Marketing Department they are stupid in Wingdings 26pt).
You can mix the both (HTML and attachments) - just that testing the sucker and making it present on multiple (nonstandard) email clients becomes nigh on impossible. Because the images in the multipart mime are present as internal / *hidden* attachments, and you want to have *visible* attachments too. Functionally, the "attachment" in HTML emails is akin to an A HREF= link to a web based object. But this simple solution may not appeal.
Then again, the email routines are about 60 lines in length - so you should be able to hand-roll your own variant in an afternoon or two.
Sorry to see AREV die recently.
And you might use BLAT.DLL - which has more memory leaks than a glue sniffer with Alzheimers.
At 08 OCT 2007 12:13PM Warren Auyong wrote:
BLAT is open source. You have the skills. Why don't you fix the memory leaks for the good of the community?
At 11 OCT 2007 12:39PM Steve Smith wrote:
Well I could. But I spent so much time testing for memory leaks in the OI routines (and they are definitely "rock solid" - Mr. Ruane's words) that I don't feel any urge to test blat.dll right now.
At 01 DEC 2007 07:50PM Warren Auyong wrote:
According to several discussion boards memory leaks were addressed in version 2.40 of BLAT. Current version is 2.6.2
I did some profiling with Perfmon and udmh and don't see evidence of memory leaks in blat, although I must admit my lack of expertise in such areas.