Jump to content

Sending Multipart Email with mail(); help!!!


RatataDK

Recommended Posts

Hey all.

 

This is my first post here ;D

 

I want to send a mime multipart email with mail(); function but can't get it to work.

Header and message. << output off mail contens.

I used str_replace(); to deal with linebreaks, but mail(); get the linebreaks like \n

 

I can send email in plain text/html with no problem ;)

I think the problem may be my email header??

Or it might be mail(); function that can't handle mime multipart?? ::)

 

I would love it if mail() function had an error handler :D

 

Hope some of your masterminds can crack this one... ;D

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/142714-sending-multipart-email-with-mail-help/
Share on other sites

Post some code and maybe we will be able to help.

 

I would suggest googling phpMailer and using that script for complex emails like you want.

 

You are to fast m8... you will find the code if you follow the link ;D

I have phpMailer but want to use my own code...learn by trail and error ;)

 

Post some code and maybe we will be able to help.

 

I would suggest googling phpMailer and using that script for complex emails like you want.

 

You are to fast mate... you will find the code if you follow the link ;D

I have phpMailer but want to use my own code...learn by trail and error ;)

 

 

Use phps extension for that page to display properly with syntax highlights, right now it is just garbled text.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.