sending html mails with mailto:

Pagina: 1
Acties:
  • 81 views sinds 30-01-2008

  • 3JL
  • Registratie: November 2004
  • Laatst online: 04-05-2024
Hello folks!

My client likes to send mailings to a list of clients with his latest column. No problem, if there would be only the column (loaded from the DB). But my client wants to be able to ad some text and change the font etc if necessary.

There are two possibilities to do this: Me creating an on-line editor or something i'm not sure of wheter it will work:

With mailto: in the link element (<a> ) it is possible to open the user's e-mail client with a pre-determined title and content:

<a href="mailto:user1@mailinglist.nl,user2@mailinglist.com?subject=mailing&body=basic content">send!</a>

I'd like this basic content to be some html code.

How can I tell the mail-client (MS outlook 2000 in this case) that we are writing a html mail? body=<html>content</html> is not enough.

How can I attach pictures to the e-mail and use them in the mail?

Thanks.
Jasper

PS.: I'm sorry for my lacky English...

  • AtleX
  • Registratie: Maart 2003
  • Niet online

AtleX

Tyrannosaurus Lex 🦖

Gezien je vorige posts kan je prima Nederlands, doe dat in dit topic dan ook. Zo'n luie c/p actie wordt niet echt gewaardeerd namelijk.

Verder kan je met HTML linkje geen HTML mail schrijven voor zover ik weet.
code:
1
<a href="mailto:user1@mailinglist.nl,user2@mailinglist.com?subject=mailing&body=<html>basic</html> content">send!</a>

Dat is immers niet meer dan HTML nesten en dat negeert je browser.

Sole survivor of the Chicxulub asteroid impact.


  • André
  • Registratie: Maart 2002
  • Laatst online: 16:30

André

Analytics dude

Als je ook maar een beetje proffesioneel over wil komen bij je klant moet je geen mailto pruts oplossingen aanbieden maar gewoon een simpel mailscript schrijven waar je HTML mailtjes mee kunt maken en versturen. Mailto is de grootste fout die men heeft kunnen introduceren op html gebied.

http://www.isolani.co.uk/articles/mailto.html

  • Bosmonster
  • Registratie: Juni 2001
  • Laatst online: 10-05 18:53

Bosmonster

*zucht*

Kan niet. Je moet namelijk ook het juiste content-type meesturen in de email als je html wilt en dat kun je niet met een mailto-link.

En dit is een nederlands forum, post dan gewoon in het nederlands tenzij het echt niet anders kan.

Dit topic is gesloten.