Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

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.