BetaONE will rise again!


Reply
  #1  
Old 11th Aug 04, 10:48 AM
*MO*'s Avatar
*MO* *MO* is offline
Senior Member
 
Join Date: Aug 2002
Location: Cape Town
Posts: 311
*MO* is an unknown quantity at this point
Send a message via MSN to *MO*
Hey guys

got this small problem.

I can send an html email to a user using php NO Problem using the code below

Code:
/* recipients */ $to &nbsp;= "moosthuizen@mweb.com"; // note the comma /* subject */ $subject = "PICTURES ON RHAPSODY"; /* message */ $message = " <html> <head> <title>THIS PICTURE HAS BEEN DISPLAYED ON RHAPSODY</title> </head> <body> <TABLE> <tr> &nbsp;<td> &nbsp; Selected Picture &nbsp;</td> </tr> <tr> &nbsp;<td>"; &nbsp;$message .= "< &nbsp;src=http://www.jmrhapsody.za.net/".str_replace(" ","%20",$requested)."'>"; $message .= "</td> </tr> </TABLE> </body> </html> "; /* To send HTML mail, you can set the Content-type header. */ $headers &nbsp;= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* and now mail it */ mail($to, $subject, $message, $headers);
The text comes out on the other side fine. but note that the <img is not there. that tag is for the image, and if i type in <img src="....... then the mail just never arrives

howcome?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Novell responds to Microsoft email NewsBot NeoWin News 0 28th Oct 04 10:00 PM


All times are GMT +1. The time now is 09:53 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.