Missing image from HTML email

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pulpfriction
Forum Newbie
Posts: 8
Joined: Wed Jun 22, 2005 11:45 pm

Missing image from HTML email

Post by pulpfriction »

Hope someone can help.
A visitor to the site completes a feedback form, they then receive an email in html format, but I can't get an image file to to work.

Any help greatly appreciated.

W
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it'd help to see your code.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Maybe your using relative URLS. Be sure the complete image address is in your code.

ie

Code: Select all

/mypic.jpg
would not work.

Code: Select all

http://www.myaddress.com/images/mypic.jpg
Should be ok. Unless the person has images turned off in their Email.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

If you're testing your script in outlook express, windows now automatically disables showing of pictures (unless you change the option, or click the show pictures thingamabobjigger).
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply