Jump to content

Mail Help


stig1

Recommended Posts

I have the following code:

 

$success = array();

$success[] = "Function Item Successful";
$success[] = "Function Catalogue Successful";

$countSuccess = count($success);

if ($countSuccess != 0) {
// puts array information into string.
$emailBody = implode("",$success);

mail($to,'Successful',$emailBody,'From: site@site.com.au');

}

 

When i recieve the email, all the information comes out, however, it does not put the information onto a new line.

 

How can i get it in my email to show a new line each array?

Link to comment
https://forums.phpfreaks.com/topic/153093-mail-help/
Share on other sites

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.