Jump to content


Photo

Problem with url in mail content


  • Please log in to reply
4 replies to this topic

#1 api

api
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 25 August 2006 - 06:43 AM

I want to sent a webpage as the content of mail.
I got the source code of the webpage and send it as the mail content of the PHP mail function.
And when i check my inbox, i get all the content(text, alignment ans so on) fine EXPECT that it does not show the images, coz the image urls are replaced by some other data.

Want guidance, Can anyone tell why is the url getting changed???

Thx in advance.

#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 26 August 2006 - 08:00 AM

been my experience that most image problems in emails are due to your email settings. however, you might also want to make sure that your code is using full url addresses, not just relative.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 api

api
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 29 August 2006 - 06:40 AM

hi

Thx for replying.

my image hav the full url, like "http://mysite.com/im...mages/logo.jpg" when echo the content before sending it as email content.
But when ever it reaches my inbox, the url get distorted. dunno why???
In yahoo inbox, few of my image url are shown as below, whereas my urls were as simple as above.

<img src="http://us.i1.yimg.co...ll/bt_dd_2.gif" alt="Calendar shortcuts">

<img src='http://us.i1.yimg.co...el/spc_eee1.gif' border='0'>

plz help

#4 LooYang

LooYang
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 August 2006 - 06:53 AM

yahoo inbox can not hold out 'HTML'

try to set your content wiht HTML when you sent mail

#5 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 29 August 2006 - 07:59 AM

header problam post code
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users