I have the following code which inserts $message into the message body of an email.
Code: Select all
$email = "$Project_Members";
$subject = "This is the latest regarding VSI $VSI_NUMBER";
$message = "VSI Number - $VSI_NUMBER, Salesman - $Salesman, Engineer - $ENGINEER, Customer - $CUSTOMER, Comments - $COMMENTS, Actiondate - $ACTIONDATE";"VSI Number - 201106, Salesman - ORMESHER GEOFFREY, Engineer - ORMESHER GEOFFREY, Customer - DFDFDFD, Comments - This is the latest comment for this VSI, Actiondate - 2006-11-24"
Doesn't look very nice does it, I'd be happy to at least get it to do this,
VSI Number - 201106
Salesman - ORMESHER GEOFFREY
Engineer - ORMESHER GEOFFREY
Customer - DFDFDFD
Comments - This is the latest comment for this VSI
Actiondate - 2006-11-24
Any ideas?
Thanks
Geoff