473,387 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting html code while recieving email in outlook.

245 100+
Hey,
I have read an email template and sending emails through php mail function. It shows html code when i open that received email in outlook express but it shows normal content in hotmail, yahoo, gmail account.

This is how it view me HTML code in outlook

Expand|Select|Wrap|Line Numbers
  1. ----Original Message-----
  2. From:
  3. Sent: None
  4. To: <email removed>
  5. Subject: File Uploaded by <email removed>
  6.  
  7. Content-type: text/html; charset=iso-8859-1
  8.  
  9. From: <email removed>
  10.  
  11. Sender: <email removed>
  12.  
  13. cc: sonalimalhotra2007@gmail.com
  14.  
  15. Message-Id: <20090312115233.BC591A805A<email removed>>
  16. Date: Thu, 12 Mar 2009 07:52:33 -0400 (EDT)
  17.  
  18.  
  19.  
  20.                        <html>
  21.                                <head>
  22.                                        <title>File Uploaded by
  23. rizwan.shah@e-ngageit.co.uk</title>
  24.                                </head>
  25.                                <body>
  26.                                        <table cellspacing='0'
  27. cellpadding='0' border='0' align='left' width='570'>
  28.                                                <tr><td><font
  29. style='font-family:Trebuchet
  30. MS;font-size:20px;color:#ff4800;font-weight:bold;'>Dear
  31. Administrator</font></td></tr>
  32.                                                <tr><td>&nbsp;</td></tr>
  33.                                                <tr><td><font
  34. style='font-family:Trebuchet
  35. MS;font-size:12px;color:#000000;'><email removed> upload a
  36. file.</font></td></tr>
  37.                                                <tr><td>&nbsp;</td></tr>
  38.                                                <tr><td><font
  39. style='font-family:Trebuchet MS;font-size:12px;color:#000000;'>Please check
  40. and assign it to the relevant person. Thanks!</font></td></tr>
  41.                                                <tr><td><font
  42. style='font-family:Trebuchet
  43. MS;font-size:12px;color:#000000;'>..........................................
  44. ............................<br />Please do not reply to this email, as this
  45. mailbox is not monitored.<br /><a href='http://www.example.come'>Square
  46. Marble</a></font></td></tr>
  47.                                        </table>
  48.                                </body>
  49.                        </html>

Can somebody help me to sort out my this problem too. Please
Mar 13 '09 #1
1 2797
Dormilich
8,658 Expert Mod 8TB
maybe outlook express doesn't support or misinterprets (as text) the html mail. this could be due to settings or insufficient headers....

you may try multipart emails (text and html part)

I recommend using a Mail Class (e.g. Swift Mailer), this makes writing emails much easier than the built in mail() function.
Mar 13 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Ammar | last post by:
OK guys, Thanks to your help, I could finally send ASP mails with attachements... A very strange question: When I looked through all the sites you gave me and through Google, I got the impression...
5
by: Mike | last post by:
I am creating both a text and html version of the same newsletter and sending using CDOSYS. Both of them incorporate a list of stories drawn from a database which are assigned to a variable...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
8
by: AC | last post by:
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:?subject=something format. It' looks like tihs: ...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
9
by: Microsoft News Server | last post by:
Hi, I am currently having a problem with random, intermittent lock ups in my ASP.net application on our production server (99% CPU usage by 3 threads, indefinately). I currently use IIS Debug...
1
by: Paul D. Fox | last post by:
I'm trying to launch a Child Window from a hyperlink on a Datagrid and have it recieve multiple values from the Parent Window. Upon recieving the values in the Child Window, I need to access them...
1
by: divya | last post by:
Hi, Yesterday I mailed a piece of code to my yahoo acount and my office account . This is only small part of the entire code. <script language="JavaScript"> function SendToWebServer(sendto) { ...
1
by: robnoper | last post by:
XP SP2, access and outlook 2003 I have a form with 3 command buttons on that when one is pressed it opens up a html email for the user to send. Two of the emails work fine and open with the full...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.