LOULOU Posted July 8, 2006 Share Posted July 8, 2006 Is it possible to send html mail with this function ? And to have multipart for HTML Mailer and for Text Mailer ? Best regards Link to comment Share on other sites More sharing options...
Developers Jos Posted July 8, 2006 Developers Share Posted July 8, 2006 Is it possible to send html mail with this function ?And to have multipart for HTML Mailer and for Text Mailer ?Best regardsYou will have to translate the html "text" being sent into the needed format yourself if thats what you want.I have posted the _InetSmtpMailCom() UDF in S&S which does that by just feeding it with the HTML code. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 8, 2006 Share Posted July 8, 2006 All emails are sent in HTML format. "Hello" and "<html><body>Hello</body></html>" are the same. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 8, 2006 Developers Share Posted July 8, 2006 All emails are sent in HTML format. "Hello" and "<html><body>Hello</body></html>" are the same.Don't think this is correct. Most EMail clients have an option to sent in Text or HTML. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LOULOU Posted July 9, 2006 Author Share Posted July 9, 2006 Don't think this is correct. Most EMail clients have an option to sent in Text or HTML.In fact here is what i want to do :'Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C6A396.0B0D9820"' & @CRLF & _ "------=_NextPart_000_000A_01C6A396.0B0D9820" & @CRLF & _ 'Content-Type: text/plain;charset="iso-8859-1"' & @CRLF & _ "Content-Transfer-Encoding: quoted-printable" & @CRLF & _Here the text in plain format "------=_NextPart_000_000A_01C6A396.0B0D9820" & @CRLF & _ 'Content-Type: text/html;charset="iso-8859-1"' & @CRLF & _ 'Content-Transfer-Encoding: quoted-printable' & @CRLF & _And here the text in html format "------=_NextPart_000_000A_01C6A396.0B0D9820--" & @CRLF & _ @CRLF Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 10, 2006 Share Posted July 10, 2006 When you don't use any HTML block tags, the message is smaller. If you need to use HTML blocks, then it will get a little bigger. If you don't use any code, then the application won't worry about rendering any HTML. Link to comment Share on other sites More sharing options...
LOULOU Posted July 11, 2006 Author Share Posted July 11, 2006 In fact what i want to do is to send an email in multipart/alternative with _InetSmtpMail.Is someone Know how to do ? Link to comment Share on other sites More sharing options...
Developers Jos Posted July 11, 2006 Developers Share Posted July 11, 2006 In fact what i want to do is to send an email in multipart/alternative with _InetSmtpMail.Is someone Know how to do ?Did you try the _InetSmtpMailCom() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LOULOU Posted July 12, 2006 Author Share Posted July 12, 2006 Did you try the _InetSmtpMailCom() ?No I will try it this evening and after i will respond it.Thanks for your quick answer Link to comment Share on other sites More sharing options...
Skysnake Posted August 17, 2010 Share Posted August 17, 2010 Hi - slightly off topic, but sticking to mail - is there an 'off line smtp simulator' available? I want to test sending email while off line - is there an engine like this available? WinXP+ platforms... Thanks Carl skysnake Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
jvanegmond Posted August 17, 2010 Share Posted August 17, 2010 Hi - slightly off topic, but sticking to mail - is there an 'off line smtp simulator' available? I want to test sending email while off line - is there an engine like this available? WinXP+ platforms...ThanksCarlskysnakeJust open a TCP port on your local machine and print the output of it to console. You'll have plenty opportunity to see the output of your program and verify manually if it was what you expected. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Skysnake Posted August 18, 2010 Share Posted August 18, 2010 Just open a TCP port on your local machine and print the output of it to console. You'll have plenty opportunity to see the output of your program and verify manually if it was what you expected. Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
Skysnake Posted August 18, 2010 Share Posted August 18, 2010 Thanks. Thats cool Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now