Jump to content

Recommended Posts

Posted

Hi,

 

How can I combine a 'From:' and a 'Content-type:' Header. What I'm trying to do is send HTML through E-Mail.

 

Here is shat I have so far:

>mail([Address], [Subject], [Message], "From: BSA Troop 6 <mail@wvtroop6.org>\r\nContent-type: text/html\r\n");

 

 

I hope this made sense.

 

 

Many Thanks,

Dman8568

Posted
[bump]

 

I'm sorry... I know I'm not suposed to do this...

You're right. I'm sorry nobody has come along with an answer for you, but please don't bump threads.

 

My suggestion would be to poke around on php.net. They have whole pages for every function, with user-submitted examples for different implemenations. You can find mail() here.

  • 4 weeks later...
Posted

Basically like this

 

"From: "NAMEHERE" <EMAILADDRESSHERE>\nX-Mailer: Lazarus Guestbook\nContent-Type: text/html; charset="UTF-8"

 

The above is lifted from Lazarus as you can see.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...