Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-23-2006, 12:23 PM   #1 (permalink)
rzv
 
Newb Techie

Join Date: Dec 2005

Posts: 19

rzv

Default Html email

How can I send an html email in which:
in the html as mail, is a image, It's source is given as http:/.../.

If I add the headers:
$headere = "MIME-Version: 1.0\r\n";
$headere .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headere .= "From: xxx@yahoo.com \r\n";

and send email as: mail($to, $subject, $text, $headere);

the email is seen as html but the image which should have to appear is not there.

What else do I have to add as headers so the image would appear

Pls help urgent!!!:eek:
rzv is offline  
Old 03-23-2006, 01:23 PM   #2 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Are you bounding it by the img tags?
$img = '[img]'.$img_url.'[/img]';

It should work fine...the headers tell the client to read it as html...so, if the html is provided...:rolleyes:
__________________
Vormund is offline  
Old 03-23-2006, 02:22 PM   #3 (permalink)
rzv
 
Newb Techie

Join Date: Dec 2005

Posts: 19

rzv

Default

image soure looks like this

src="http://qwcse.hitart.com/logojpg.JPG"

I start thinking that it is about yahoo. Yahoo turns the source to http://us.i1.yimg.com/us.yimg.com/i/...l/spc_eee1.gif <

I don't know why it does this but it is a big problem for me. If anyone has an email which can be sent as html and it has images please post the source or help
rzv is offline  
Old 03-23-2006, 04:46 PM   #4 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

Quote:
The shortURL address: qwcse.hitart.com does not exist.
Either you made a typo, or the link you followed had a typo, or this user is no longer with us.

office politics is offline  
Old 03-23-2006, 11:35 PM   #5 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Yeah, as CS said...that url is not right...(Doubt it's the real one, anyway, but...) If you provide the url, I can run a quick test just to prove it works...

But also note, not sure where this image is from, but many websites will block outsourced images to conserve their bandwidth--making you view it from their website. Not sure if that applies here, just mentioning it. (It will display some type of NO OUTSOURCING image, red X, or something...in place of the picture.)

Also...if the image does not show up in the email, what does show up, instead?

Quote:
Originally posted by rzv
image soure looks like this

src="http://qwcse.hitart.com/logojpg.JPG"

I start thinking that it is about yahoo. Yahoo turns the source to http://us.i1.yimg.com/us.yimg.com/i/...l/spc_eee1.gif <

I don't know why it does this but it is a big problem for me. If anyone has an email which can be sent as html and it has images please post the source or help

__________________
Vormund is offline  
Old 03-24-2006, 08:29 AM   #6 (permalink)
rzv
 
Newb Techie

Join Date: Dec 2005

Posts: 19

rzv

Default response

I solved half of the problem. Now I can see the image but I have to enable grafics(in Yahoo) to see the image.

Does someone know the link to graphics enable or how I can send the email so that it goes to inbox and no to bulk
rzv is offline  
 
Closed Thread

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On