Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Problem Of The Php Mail Function Not Formatting Emails Properly For Outlook Express On A Mac


anyone found a fix ever for the problem of the php mail function not formatting emails properly for outlook express on a mac, they always appear blank, something to do with the mime headers apparently......




View Complete Forum Thread with Replies

Related Forum Messages:
Mail & Outlook Express
I'm sending an html email to members subscribed to a mailing list. However, the email isn't showing up as intended. This only occures in Outlook Express, Hotmail displays the email correctly. Code:

View Replies !
Sending HTML Mail To Outlook Express With Mail()
I'm sending out an HTML mailer using the mail() function in PHP. I'm appending all of the headers to the message. This message displays correctly in Hotmail, Outlook 2000, and even Mac's OSX mail client. But, for some reason, Outlook Expess (on Win XP & OSX) displays the HTML code and doesn't render it.

If, however, the recipient copies the HTML code and composes a new HTML message in Outlook Express, it gets sent correctly.

This particular user is also getting other HTML mailers that display correctly, so I know that the client is capable of accepting HTML mail.

I'm led to believe that PHP's mail() headers are not being interpreted correctly. In fact, they appear as the first 3 lines in the body of the message when viewed in Outlook Express. OK, here are some samples to tie this all together: First, the mail() code I'm using: PHP Code:

View Replies !
Read E-mail Addresses From Outlook Express
how to read email addresses from outlook express (from local hard disk) It will be great if you help me to read e-mail addresses from and folders (of outlook Express) like Send, input, output etc).

View Replies !
Make A Mail System Like Outlook Express
i need to make a mail system like outlook express that mean i run my system on client system it connect to server download mail on client system and after this i work with these mail exectly like outlook express. Firstly i am confuse how to download mails from web to client system?

View Replies !
Images Shown In Outlook Express But Not In Outlook 2003
I'm writing a php code to send email in mime format. All seams ok if I read the email with outlook express, or Thunderbird, or any webmail, but if I open the email with Outlook 2003, I can't see the images, I just see a small box (I send 1 image) with inside the path of the image. The image is embedded in the message, it's not a link.

<?php
$header = "From: Sender <sen...@domain.org>";
$header .= "CC: Altro Ricevente <blabla...@domain.net>";
$header .= "X-Mailer: Our Php";

$boundary = "==String_Boundary_x" .md5(time()). "x";
$boundary2 = "==String_Boundary2_y" .md5(time()). "y";

$header .= "MIME-Version: 1.0";
$header .= "Content-Type: multipart/related;";
$header .= " type="multipart/alternative";";
$header .= " boundary="$boundary";";

$messaggio = "If you read this, your email client doesn't support MIME";

$message .= "--$boundary";
$messag .= "Content-Type: multipart/alternative;";
$message .= " boundary="$boundary2";";

$message .= "--$boundary2";
$message .= "Content-Type: text/plain; charset="iso-8859-1"";
$message .= "Content-Transfer-Encoding: 7bit";
$message .= "Alternative message in plain text format.";

$message .= "--$boundary2";
$message .= "Content-Type: text/html; charset="iso-8859-1"";
$message .= "Content-Transfer-Encoding: 7bit";.....

View Replies !
From Field In Outlook Express
I won't get the "From:" field in Outlook Express filled using these headers: PHP Code:

$headers = "MIME-Version: 1.0";
$headers .= "Content-type: text/html; charset=iso-8859-1";
$headers .= 'From: '.$namn.' <'.$mail.'>' . "";
$headers .= "X-Priority: 3";
$headers .= "X-MSMail-Priority: Normal";
$headers .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409";
$headers .= "X-Mailer: Microsoft Outlook Express 6.00.2800.1409";

View Replies !
Mail() Function - Using The Mail() Function To Send Emails To Members Of A Website
I am using the mail() function to send emails to members of a website. For some reason when I include words such as "free" or "winner" the mail does not send to any of the addresses - it just seems to disappear in space. I figured this out by trial and error - once I removed those words, it worked. I am running cPanel on the server and have no problem sending emails as long as they don't use those words. It seems to be blocking certain words - ones that I assume spammers would use.

View Replies !
Mail() Function Doesn't Seem To Be Sending MAIL FROM: Properly
I'm trying to send an email using the mail() function. I've carefully made use of the ini_set(SMTP, "mail.my.server") function to set my SMTP server and also to set my From: address. I'm still getting a "Relaying not explicitly allowed: fakeemail@fakedomain.com" response from the server however, when I try and set a recipient who is outside of my own
domain. This makes my think that the From: address is somehow not getting sent to my server properly or that I'm pointing at the wrong server.

The confounding thing is that it was working for a while and I don't think I changed anything and it just stopped.

I'm running these PHP pages for a client off of one of those cheap hosting services, I think it's called 1dollarhost.com or something, although I can't remember at the moment.

Has anyone else had trouble with this or found a solution?

View Replies !
Mail Function Not Working Properly
i am using php mail function to send an email to myself from the website (from mydomain.com to zeeshan@mydomain.com). The email gets sent and there are no errors and warning but i'm not getting it. Now the funny thing is, i get an email when i try to send it on my hotmail or gmail address.

Anyone has had the same problem or can suggest a solution?

View Replies !
Emails Blocked By Certain Mail Hosts? (mail() Function)
I'm using mail($address,$subjectheading,$message,"From:
me@mysite.com") to send emails from my site. For the most part, it
works okay (for example, I receive the mail in my Yahoo box). But when
I check my university email, the message is not delivered. I thought
maybe it was because I had included my web address in the subject
heading and that it was being filtered out, but I removed that from
the subject and it still fails to get through. I'm making a wedding
site for some friends now and they want to be able to email everyone
on their guest list at once, but I'm afraid the same will happen to
some of these addresses as well. Any comments/suggestions on what may
be blocking the mail and how I can get around it? I'm not trying to
send out any kind of mass ad mailings or anything. Just to people on a
mailing list for this site.

View Replies !
Using Mail() Function For Selected Emails
I have a list of emails and I want to email only selected people by clicking on a checkbox next to their record.

So I created a nice table that shows all records and a checkbox next to each record with the recordID as the value.

But, I am not sure where to go from here. The next page has the mail() function, but I don't know what to do next. Code:

View Replies !
Mail Function Not Sending Emails.
im starting to doubt my ability to read the php manual. Somehow this thing is not sending emails. Any thoughts why? (Yes i did change mymail@mail.com into an actual email address. mail('mymail@mail.com', 'My Subject', 'my message');

View Replies !
Mail() Function Sending Emails Trapped By IMF
I am using the simple mail() fucntion in a php script but the emails
that are being generated and being trapped by Microsoft Exchange server
2003 Inteligent message filter as having an SCL rating of 7 or 8, the
highest possible being 9.

This is causing me problems getting the emails delivered to people!

View Replies !
Mail () Function Sends Multiple Emails
The script below uses the mail() function, and everything works fine, except it sends three emails everytime to the same email address. Can anyone tell me why its doing this and how I can fix it? Code:

View Replies !
Mail Function Sending Double Emails
I have a script I'm using to send me e-mails when someone registers for an event I'm holding. But it's sending the e-mails twice. How can I fix this? Can anyone help? My host uses qmail. I get no errors reported. Here is the function as I'm using it:

mail('address1@host, address2@host', $subject, $messageproper, "From: "$yourname" <$email>
X-Sender: My site name" );

I have a value passed to the variables "yourname", "subject", "messageproper", "email" from a form I've set up.

Any ideas what's causing the double emails and how to solve this problem?

View Replies !
Stopped My Regular Mail() Function From Sending Out Automatic Confirmation Emails.
My Website host has installed suexec on Apache and this has stopped my regular mail() function from sending out automatic confirmation emails when a user submits a form for membership. I am not sure how to change my script to make this work again.

View Replies !
Formatting Text For Emails
I'm working on an application where a user inputs text into a text area field. This is then stored in the mysql database as a text field. At some future point this text is sent as a part of an email to another user. I've got it "working", but the text in the email comes essentially as one long string. Any suggestions as to the best way to handle this to make the output more appealing to the eye ?

View Replies !
Help Formatting HTML Emails Using Sendmail
A client of mine requires the ability to send out HTML formatted emails after a database post. When I send the email out to yahoo or hotmail, the actual HTML tags are visibile. Using these same yahoo and hotmail accounts, i can view emails from other providers that are formatted with HTML, so this tells me my code is wrong. PHP Code:

View Replies !
Mail(), Html & Outlook
I see that a while ago people had the same problems as me (http://www.phpbuilder.com/board/show...eadid=10240258), but I see no answers anywhere, so here goes:

I am sending E-Mail from a form on my website using the php mail(). The problem is that when I send it as html, outlook has problems. Here are the headers I'm using:


$headers  = "From: $name <$email>";
$headers .= "Reply-To: $email ";
$headers .= "MIME-Version: 1.0";
$headers .= "Content-type: text/html;";

When I do this, the E-Mail looks fine in squirrelmail (a webmail program www.squirrelmail.org), but in outlook...instead of getting a nicely formatted html message, I get a message that starts with "Content-type: text/html;" then continues on in plaintext, showing me all the html tags, etc. I tried switching some of the headers around, and if I switch the mime & content-type headers, I see html in BOTH E-Mail programs, but outlook starts the message off with "MIME-Version: 1.0" which I suppose is the lesser of 2 evils, but there is no reason that I should have to see that. Does anyone have a solution?

View Replies !
Mail() Seen As Junk In Outlook
I am trying to set up a system that automatically sends out emails to subscribers. I am testing it on my system using my own email address as the recipient address. For some reason it gets put into my junk folder by outlook express. Any way of stopping this?

It will eventually be used to send to people who use all sorts of different email clients. Are there any easy ways to avoid these being filtered into the junk mail? Code:

View Replies !
Mail() Not Working Properly
<?php
$to = "west.jamie@gmail.com";
$subject = "Jamie Wests Survey Results";
$header = "from west.jamie@gmail.com 'X-Mailer: PHP/' . phpversion();";
$message = "NAME: {$_POST['firsname']} {$_POST['surname']} DOB:{$_POST['dob']} Year in school:
{$_POST['year_school']} siblings: {$_POST['siblings']} bedtime: {$_POST['dob']} homework time:
{$_POST['homework']} tv time: {$_POST['tv']} computer time: {$_POST['computer']}
family time: {$_POST['family']} time with friends: {$_POST['friends']}";
$message = wordwrap($message, 70);
mail($to, $subject, $header, $message);
?>

it sends me the email, but misses out some of the message, anybody got any idea y?

View Replies !
Send Mail From Outlook Web Access
I've got RH9 Linux with default PHP.

Is there a way to send email on Linux to an Exchange Server from PHP
and/or other tools when there is *NOT* SMTP access?

Has anyone figured out a way to use PHP to get inside an OWA (Microsoft
Outlook Web Access) website to send email that way?

The reason I ask is because my corporate office is going to do away
with our rogue SMTP server access and force everything through Exchange
Server. This makes it hard for our batch scripts on the Linux server to
relay to internal email accounts that a job has failed or other errors.

View Replies !
Mail() To Outlook, No Carriage Returns
I'm sending normal text email, but in Outlook all the carriage returns
are ignored. The text comes from MySQL database, and I've tried

str_replace("
", "
", $dr['email_template']);

I also tried sending header Content-type: text/plain but still no luck,
still the email comes through as one big line.

I'm sure this must be a common thing but I can't immediately find an
answer through Google.

View Replies !
Send Mail By Connect PHP To Ms Outlook?
how can we send mail by connect PHP to ms outlook?

View Replies !
Send Mail To Outlook From Http://localhost
Does anyone know how to set up a script to send mails from http://localhost to your local mail client (Outlook, to be exact).

View Replies !
Sending Mail From Php And Correct MS Outlook Receive
In my MS Outlook I use global address book to handling contacts.
When I send email from Outlook to myself and double click on sender I
get information about me from my global address book.

When I use php mail() function to sending messages and then double
click on sender I get specificity message email window only.

How do I have to prepare header at mail() function (for example: FROM:
?) that after send and double click on sender in Outlook I get
information about sender from Outlook global address book ?

View Replies !
SMTP Mail Problem (but Works OK In Outlook)
I'm finding when a mail is sent from a script, I get:

Warning: mail() [function.mail]: Failed to connect to mailserver at
"smtp.ntlworld.com" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set() in C:Documents and Settings

However, when using Outlook and setting the SMTP agent in that to
smtp.ntlworld.com, on the same PC, mail is sent fine (using Outlook)
without any problems.

View Replies !
Mail Ends Up In Outlook Junk Folder?
I have a mail PHP mail script set up to send email to me when a user completes a from on my web site. The problem I'm having is that if the mail is sent to an address on my domain it ends up in Outlook's "Junk-mail" folder. However if I send it to another adress not on my domain it works fine. Code:

View Replies !
Mail Headers For Online App Are Not Working Properly
We switched to a new host last night and for some reason my mail headers for my online app are not working properly. The following code use to display the incoming apps as an html page in Outlook. Now it displays "Content-type: text/html; charset=iso-8859-1" at the top along with the page source below it.

$mailheaders = "MIME-Version: 1.0";
$mailheaders .= "Content-type: text/html; charset=iso-8859-1";
mail($allRcv, $subject, $msg, $mailheaders);

View Replies !
Outlook Chopping Href Tags In Html Mail
I have been trying to send a multipart text and html message through the mail() funciton. It works beautifully with Hotmail. However, when it is received by the IceWarp web-based mail server or by Outlook, some of the HTML is hacked out. Specifically, on href tags, look like this when viewing the source: <a href=ttp://.... It also chops off the last character of the url and the quote before the end ">" on the tag. I can't figure out what is happening ....

View Replies !
If Loop Does Not Function Properly ...
when nested inside of a for loop.

I am trying to display information based on the day of the week, which is determined by the for loop.

If there are multiple entries for the same day, the if loop will only display the first entry and then exit the loop without printing the second entry.

I am very confused because because seperately, the for loop and the if loop function properly.

View Replies !
Combination Of Outlook And Php - Create Stationery For MS Outlook Using PHP Engine
Some of my clients asked me to create "fancy emails" for them (aka html
formatted emails).

I know how to make a nice html document, but I had trouble creating a simple
way to provide the document to my clients so that they could use it to.

I know most of them use Outlook XP or Outlook 2003, so what I created was a
page that creates a Visual Basic script that, when saved to the desktop and
clicked (run), opens a message in outlook using the html provided.

View Replies !
HTML Mail With Mail(). (Bad Formatting It Says)
I'm trying to send a HTML-mail with mail(), and I'm using the function can be seen here:

http://www.webmasterworld.com/forum88/3288-1-10.htm

The script is working on some clients but not on everyone. The fault I get from the headers in the sent mails is:

"X-Mail-Format-Warning: Bad RFC2822 header formatting "

I'm kinda new to this stuff with multipart-MIME emails, and would appreciate some help.

View Replies !
Getting 3 Emails From One Mail()
I'm totally clueless on this one -- I'm getting 3 copies of every Email (in plain text, not HTML as expected), from a single mail() line... Can anyone tell me what might be causing the duplicates??

<?PHP
include('dbconn.php');
$query="SELECT
artistID,active,email,firstname,lastname,city,stat e,mentor from artists
WHERE artistID='$artistID'";
$result=mysql_query($query) or die(mysql_error("Could not execute
query."));
while($row = mysql_fetch_array($result)) {
$emai
?>

View Replies !
Mail Problem - Warning: Mail() [function.mail]: SMTP Server Response: 550 Invalid Recipient:
Whenever the recipient's email address includes a hyphen ( - ), I get the following error message...

Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient:

I should stress that this only seems to occur when the hyphen is in the URL portion of the address, i.e example@perfect-example.com

The current code works along the lines of...

mail ($_POST['email'], 'Email subject is here', $body, $headers);

View Replies !
Using Mail() With .info Emails?
I am trying to send an email with the mail() function to an email address on a .info domain. I get an error. Everything else is correct, because as soon as I switch the email address to a .com address, it works fine.

View Replies !
Php Mail Stopping After A Few Emails
I am trying to mass mail a newspaper with PHP mail. I am using a local SMTP server. I am trying to send 300 emails at one time (with a for loop i.e. sending the same email to the same recipient 300 times) but it only sends a few them, sometimes about 100, sometimes about 130 and so on.. Then the php script stops, it doesn't even gives me an error.

I tried several different SMTP servers.

I tried the same script on a domain and it worked perfectly.

I don't think that the problem is coming from the SMTP server as the script is not sending the 300 emails, it is stopping.

View Replies !
Mail() Duplicating Emails
I've got a nice email sending script that works a charm - except any email sent is sent twice, despite there only being a single call to the mail() function. It's a simple script, no loops that could have cause it to be called twice. Infact, it's a problem I'm having on two different scripts.

Is there some horrible secret about mail() I should be aware of? Or does my server have a double-email complex?

The actual code is:

$recipient = 'contact@domain.com'
$message = 'A message.'
$message = wordwrap($message, 70);
// Define Header
$headers .= 'To: My Dear Friend <'. $recipient .'>' . "";
$headers .= 'From: My Dear Self <NOREPLY>' . "";

// Send
mail($recipient, $subject, $message, $headers);

(OK, so it's not the actual code, but for all intents and purposes it is)

View Replies !
Blank Emails Using Mail()
I've made an newsletter mailing system which should sent newsletters to my website's members using php mail function. It gets the mail data from an html file, the html file is generated using MS word(save as html). The mail is sent in Japanese Language(Shift_Jis). The html file is HUGE! 150 kb each, there are 5 such html files,
the script gets email from database and sends data to the users.

Problem is when the cron is executed i'm getting complains of blank mails the subject is okay but the body is blank. I tested the same function using a for loop sending me 25 mails, all mails were fine but the next day when cron was executed i also recieved a blank mail. i checked the message source in outlook express the last line is:

Content-Type: text/html; charset=shift_jis

which is of the header.

Every time it sends a mail, i use a function to read the html file and return the data, is this slowing down the script and causing problems?

The word generated html files have some headers of their own and i get an error saying "security settings may prohibit active x to run on this page , this page may not be displayed correctly":

Whenever i test the same function it works fine but in actual execution blank mails are sent!

View Replies !
Mail() Sending Two Same Emails
<?php
$mymail = '*******';
$mymail2 = "******";
$cc = $_POST['subject'];
$FrOm = $_POST['email'];
$BoDy .= 'First Name: ';
$BoDy .= $_POST['first_name'];
$BoDy .= "";
$BoDy .= 'Last Name: ';
$BoDy .= $_POST['last_name'];
$BoDy .= "";
$BoDy .= 'Email: ';
$BoDy .= $_POST['email'];
$BoDy .= "";
$BoDy .= 'Message: ';
$BoDy .= $_POST['message'];
$BoDy .= "";
$send = mail("$mymail", "$cc", "$BoDy", "From: $FrOm");
$send2 = mail("$mymail2", "$cc", "$BoDy", "From: $FrOm");

if ( $_POST['subject'] == "Lunches"){
$send2; }
if($send2){
echo '<html><head>';
echo '<meta http-equiv="refresh" content="0;URL=contactus_return.html">';
echo '</head><body>Sending, Please hold...';
echo '</body></html>';
}

else {
($send); }
if($send) {
echo '<html><head>';
echo '<meta http-equiv="refresh" content="0;URL=contactus_return.html">';
echo '</head><body>Sending, Please hold...';
echo '</body></html>';
}
?>

When there is Lunches or any other value it sends both emails mymail and mymail2 are active and both send emails. Where is my mistake?

View Replies !
Emails Generated By Php Mail
I'm having a serious problem with the emails generated by php mail script on my sites.
All works perfectly well (or has done up to npow) There is nothing wrong with the script.
Here is an example of the script: Code:

View Replies !
Tab /t Doesn't Work When Formatting E-mail
I tried sending an e-mail with 's in it, but it just seems to ignore the tab, howcome?

$body .= "tel 0123
";
$body .= "fax 0123
";

the output looks like this in outlook express:

tel 0123
fax 0123

The tab is being ignored, the (next line) does work...

View Replies !
Need Help Formatting Query For Mail()
I want to use mail() to send a message to a group of addresses in a mysql
table. I¹ve got my mail script and my sql query, but I don¹t know how to
format the query results to fit into the mail() function.

Does anyone have a simple script that will format a list of email addresses
(from a mysql query) then dump them into a variable that I can use in a
mail() function?

Here¹s what I got so far:

mysql_select_db($database_mailinglist, $mailinglist);
$query_email = "SELECT * FROM emailaddress";
$email = mysql_query($query_email, $mailinglist) or die(mysql_error());
$row_email = mysql_fetch_assoc($email);
$totalRows_email = mysql_num_rows($email);

mail($addresses, "Successful Test", "Successful mail sent")

View Replies !
Some Receiving Blank Emails With Php Mail()
When sending a e-mailing with php's mail() function some receive my mail well, while others just get a blank email.

I've noticed in my outlook that in the properties of that mail there's the following line:

Received: (from nobody@localhost)

Could this be the problem? I think it's possible that some mailservers see this as spam. But where do I change this settings. Because in the mailfunction I've put a real emailadress.

View Replies !
Getting Multiple Emails From A Single Mail()...
I found an old thread on this (http://groups.google.com/group/alt.php/
browse_thread/thread/751edb9c723316c4/ea9bf92a9c6b807c?lnk=gst&q=mail()
+duplicate&rnum=7#ea9bf92a9c6b807c), but there didnt seem to be a
resolution. I also noticed that this was a pretty old thread and there
didn't seem to be anything newer in the search results.

Regardless, I have a very similar problem; I am consistently getting
five emails per each PHP mail() call. While this originally showed up
in a loop generating a flood of email, I explicitly made a single
direct mail call using hard coded strings and I confirmed the same
behavior. I have spent most of today fighting with this and I can
confidently rule out that the mail() function is being accidentally
called multiple times (unless PHP is reloading the page multiple times
before finally rendering back or something else really bizarre)

Here is an example:

$result = mail($sendto, $subject, $messagebody, $headers);

If it matters, this is being called via a wrapper function, like this:

function send_email($email_from, $email_to, $subject, $msg,
$show_result = null)
{
...
$headers = "From: $from
";
$headers .= "Reply-To: $from
";
...
$result = mail($sendto, $subject, $messagebody, $headers);
...
}

The values of the vars don't matter, as I ran a very simple mail with
hard coded strings and got exactly the same behavior.

I have searched extensively and I cant seem to find anything that
specifically nails down why this might happen. For those interested in
the mail headers generated by a single mail() call, here is what I get
(some data scrubbed out):

########################
Received: from crazycooter [67.110.67.194] by XXXXX.marketnet.com
(SMTPD-9.10) id A208038C; Wed, 01 Aug 2007 12:25:28 -0500
Date: Wed, 01 Aug 2007 12:25:17 -0500
Subject: Subject
To: YYYYY.ZZZZZ@MarketNet.com
From: AAAAA.BBBBB@MarketNet.com
Reply-To: AAAAA.BBBBB@MarketNet.com
Message-Id: <200708011225863.SM03756@crazycooter>
X-RCPT-TO: <YYYYY.ZZZZZ@MarketNet.com>
Status:
X-UIDL: 471469545
X-IMail-ThreadID: c208071f0000b881
########################
Received: from crazycooter [67.110.67.194] by XXXXX.marketnet.com
(SMTPD-9.10) id A2020370; Wed, 01 Aug 2007 12:25:22 -0500
Date: Wed, 01 Aug 2007 12:25:11 -0500
Subject: Subject
To: YYYYY.ZZZZZ@MarketNet.com
From: AAAAA.BBBBB@MarketNet.com
Reply-To: AAAAA.BBBBB@MarketNet.com
Message-Id: <200708011225800.SM02212@crazycooter>
X-RCPT-TO: <YYYYY.ZZZZZ@MarketNet.com>
Status:
X-UIDL: 471469541
X-IMail-ThreadID: c20100e10000b872
#######################

View Replies !
Occasionally Get Duplicate Emails From Mail()
I'm trying to spam myself :- with 2,000 emails, shooting for 15,000,
and I will occasionally get two identical emails. I'm putting a
$counter++ as the from and part of the subject line so I can see
what's going on. Any reason why this might happen? here's my code just
in case.....

View Replies !
Using Mail() - Get Lots Of Blocked Emails
I am using the mail() function but many times the emails do not make it to their recipient...

I see this happen almost 100% of the time to hotmail.com and aol.com accounts.

Is there a way to get these emails through?

This is not for spam, it is for automatic notifications that the recipient requests.


... well I guess this does sound like spam, but anyways it is for sending tracking information from my ecom site when orders ship out.

Does anyone know a better way to do this?

View Replies !
Mail() And Multipart/alternative Emails
I'm trying to use the PHP mail() function to send multipart/alternative emails - ie emails with plain text and html versions.

I'm sure I have em formatted correctly; this is how it looks on the server before retrieval:

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0059_01BEA6E2.1A467F40"
----=_NextPart_000_0059_01BEA6E2.1A467F40
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

..........

View Replies !
HTML/Plaintext Emails Using Mail()
We currently have a script that sends out renewal emails to our customers, currently these are Plaintext emails, but we want to jazz them up a little and have HTML emails. In the emails I receive from other companies, I notice it's possible to offer an alternative plaintext version in the same email.

We managed to do this for our mailing list, using dada mailing list. I'm not sure how I'd do it using php though. The manual doesn't have any hints when I look at mail(). After looking at the source from some of my received emails, it appears that it's done in the constuction of the message.

View Replies !
Html Emails Mail() In Php5
we are trying to send HTML emails in php5 - we have set mime types but all we get is plain text emails. here is the code:

$headers .= "MIME-Version: 1.0";
$headers .= "Content-Type: text/html;";
mail($to,$subject,$message,$headers);

but still only plain text - is there anything we have to mod on the server or in the code.

View Replies !
Mail() Problem - Not Formatting Correctly
My code
<?php
$name = "freddie";
$message.="Hi Joe,";
$message.="$name has Filled out the form on the Website,";
$message.="The information from the form is listed below:";
$message.="more info";
$message.="more info";
mail("email address", "subject",$message,"FROM:email address");
?>

when this is run the email recieved is formatted :
Hi Joe,
freddie has Filled out the form on the Website, The information from
the form is listed below:
more info
more info

I would expect it to be formatted:

View Replies !
Can Mail() Send Rich Text Emails?
As subject says, does anyone have an idea if it's possible to send rich text emails using mail()?? If it's, does anyone have an example?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved