Jump to content

Recommended Posts

Posted

Is it possible to send html mail with this function ?

And to have multipart for HTML Mailer and for Text Mailer ?

Best regards

  • Developers
Posted

Is it possible to send html mail with this function ?

And to have multipart for HTML Mailer and for Text Mailer ?

Best regards

You 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.
  :)

  • Developers
Posted

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.
  :)

Posted

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

Posted

In fact what i want to do is to send an email in multipart/alternative with _InetSmtpMail.

Is someone Know how to do ?

Posted

Did you try the _InetSmtpMailCom() ?

No I will try it this evening and after i will respond it.

Thanks for your quick answer

  • 4 years later...
Posted

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?

Posted

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

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.
Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...