p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 (http://p2p.wrox.com/forumdisplay.php?f=123)
-   -   no image shows (http://p2p.wrox.com/showthread.php?t=79360)

i_m_9415 May 10th, 2010 04:12 AM

no image shows
 
by previous newsletter sending script I can send mails and pictures and that was display all over popular mail service provider domain (Y!, Gmail, hotmail etc.)

but now it cannot display in yahoo and in gmail it comes all HTML codes only not the design layout. but in hotmail and aol I can see the design.

what should be the problem??

chroniclemaster1 May 11th, 2010 12:20 PM

In the first place know that email clients have the worst support for HTML and the most inconsistent support from one client to the next. You are not alone, getting email to work is a frustrating experience and it takes a lot of work to achieve what seems like relatively little results. So this is normal, everyone has a hard time with HTML for email.

On your image and rendering issues, it sounds like those emails may be rendered in text. The image issue could be complicated, there's a lot that can go wrong with images in email. However, when your HTML is being treated as content, that tells me that while you're *sending* the email as HTML, the account that *receiving* the email is treating it as text. This could be because of a setting in the receiving account, or because your account's security is concerned about something in the email (are there any scripts? An image "might" do it, but that seems like a pretty restrictive configuration). I would get the email rendering as HTML first, because the image wouldn't show up if it's just treating the <img> as content. If it will render the HTML and STILL doesn't display the image, then start looking into all the other reasons the image could be a problem.

i_m_9415 May 12th, 2010 02:57 AM

so whats the solution??


All times are GMT -4. The time now is 04:06 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.