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.





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 Complete Forum Thread with Replies

Related Forum Messages:
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 !
Email Keeps Going To Junk Mail In Hotmail/gmail
Recently i got a dedicated server (running CentOS), and im trying to send emails using a php to hotmail, gmail, yahoo, etc.. But the emails keep going to junk email, this are the headers i get in gmail, i changed my domain name to "example.com", and my ip to 99.99.99.99

-------------------------------------------------------
Delivered-To: myemail@example.com
Received: by 10.140.187.1 with SMTP id k1cs11218rvf;
Sun, 2 Sep 2007 01:16:43 -0700 (PDT)
Received: by
10.35.27.1 with SMTP id e1mr4411248pyj.1188721002619;
Sun, 02 Sep 2007 01:16:42 -0700 (PDT)
Return-Path: <staff@example.com>
Received: from
mysite.net ([99.99.99.99])
by mx.google.com with ESMTP id n63si2393055pyh.2007.09.02.01.16.41;
Sun, 02 Sep 2007 01:16:42 -0700 (PDT)

Received-SPF: neutral (google.com: 99.99.99.99 is neither permitted nor denied by best guess record for domain of staff@example.com
) client-ip=99.99.99.99;
Authentication-Results: mx.google.com; spf=neutral (google.com:
99.99.99.99 is neither permitted nor denied by best guess record for domain of staff@mysite.net) smtp.mail=staff@example.com
Received: from
mysite.net (example.com [127.0.0.1])
by mysite.net (8.13.8/8.13.8) with ESMTP id l828Gj3h013152

-------------------------------------------------------

whats wrong here? i tried everything, im guessing "example.com (example.com [127.0.0.1])" is one of the reasons, but how can i change it so it shows my ip address instead of "127.0.0.1"? what is SPF anyway?

i have googled this a lot, seen many people with the same problem, yet no solutions, you help would really really really reallllyy be much appreciated.

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 !
Mail() Function Sends To Junk Folder On Hotmail
The following mail is sent in a PHP script via the mail() function whenever the user changes their password on our site. the following mail headers were taken from the recipients hotmail account...the mail is delivered to the account but is placed in the 'junk' folder even though it is not a spam email.

The mail works and is placed in the user's inbox in aol/yahoo/outlook express. I understand that this is a common problem with hotmail. How can i get around this problem so that we can send mail and it will be delivered to the users inbox in hotmail? Code:

View Replies !
Enforce The Server To Accept The Mail In Its Inbox Rather Than To Send It To The Junk?
In one mail server the php mail function sends the mail to the junk.
Can we enforce the server to accept the mail in its inbox rather than to send
it to the junk?I found that hotmail sends the email to the junk folder most frequently
but gmail and yahoomail deliver it to the inbox.

View Replies !
Mail() Goes To Junk Mail
I tried to send email from my server using mail() but the email goes to
@xyz.com junk mail folders.
Why is that so?
How can I fix it?



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 & 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 !
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 !
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 !
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 !
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 !
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 !
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 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 !
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 !
Php And Rh9 - Junk?
what's up with the config that comes with the redhat 9 distro?

apache2.0.40 and php4.2.2 is what's there (and it works), but there is no
php.ini and my httpd.conf seems to be missing a LoadModule directive for php.
shouldn't there be a /usr/local/php dir? how can I tell if my config is correct
for MySql support?

The official php documentation seems to imply that apache2 and php4 don't get
along well. Am I going to be better off with apache1.3.29 and php4.3.4?

View Replies !
Cutting The Junk?
I have a webpage in a variable and i'm trying to get just the part of the page i need.
I'm very new with php but I know i need to split the variable into three parts example:

trashtext1= first part of page right before <body.....>
goodtext= text from rigth after body> to right before </body
trashtxt2= all remaineing text

then print goodtext I'm not sure how to do this.

View Replies !
Mails Goes To Junk :(
i tried to send mails from php using mail function but it goes to junk mail in hotmail although it works for yahoo, is there any header that must be included ? i tried to add "From" header (From: name <mail@mailserver.com>).

View Replies !
Str_raplace() To All Junk Content
I grab the code from one page. After that i start a script that make str_raplace() to all junk content. I do it in 90% but.... some images and link have strings with user session. Example:

Quote<td><img src="images/shim.gif"><a href="searchDeparturesSimple.jsp;jsessionid=0000qPANYJmsrxP4GdSzZtPI7h9:-1?l=0"><img src="images/flag.gif" border="0" width="21" height="13">[/url]</td>

this string 0000qPANYJmsrxP4GdSzZtPI7h9 is different every time when i access the page. So i can not replace this string. Can you help mi. I read many examples and tutorials with regular expresions bug I can't understand how to do this.

View Replies !
Why Are Emails Being Sent To Peoples Junk?
I hear it may be my webhost, but I dont want to think that. I am just using the mail() function. It works completely fine with most people, but every now and then someone has a problem.


View Replies !
HtmlMimeMail Going To Junk Folder
I am making my personal website with some php coding in it. Now I want to send a HTML mail in one of my form. I am using htmlMimeMail class to send it. But when ever I am sending this mail to any hotmail account it is going to junk folder. Can I know how can I send it to Inbox of hotmail account?

View Replies !
Posting Junk To My Web Form
I have a simple web form (a couple of textfields and textareas) that puts the info into a mysql database table. I noticed recently that people have been filling out junks there, for example, advertising their porn shops.

I could do some data checking before it goes into the table but I am having trouble coming up with a pattern to parse the data against with. Because there are so many different words they could use. Instead of advertising their porn shops, some people could advertise something else. I was wondering how people here go about solving this problem.

View Replies !
Bypass Hotmail Junk Filter
I am sending mail through php mail() function, mail goes in inbox in yahoo.gmail,other but only in hotmail it goes in junk.

first i thought there was a problem with the text then we tested the text
through our hosting mail account and when finally we succeeded in
bypassing hotmail filter the mails started going in inbox if i sent them
from a mail account i create at the server test@...

but when i used the same text with php mail() function it still is going in
junk plz see below the code i used i added alot of headers but it still goes
in junk plz help how to bypass junk .....

View Replies !
Sending Email That Will Not Be Filtered As Junk
I'm wanting to write a piece of code that will send an email to a number of different email address's  after getting the email address's out of an mysql query.

I'm using a while loop to get around every email address, and I want the email address to have html in it.

the script I wrote works only for some email address's, for email address's like hotmail and outlook express it gets filtered out by the junk filter. This is the code I've got just now: Code:

View Replies !
Emails Going To Junk In Hotmail And Gmail
I am sending emails to all the members of my website using a script i wrote in php using mail function, but my emails are gone to their junk folder and not inbox main folder. specially in hotmail and gmail, please help me to solve out this problem.

View Replies !
Can You Use PHP To Keep Sending Junk Email Back To The Sender
I once had someone send me SEX junk mail each week, using a linux program I
multiplied it about four thousand times then bounce it, it took about half
an hour or so to go out on 52K dial up, but it choked his email box, I think
the joke exposed him self to the country not long later. Just goes to show
my action did work, my (old) ISP was not happy, I told them were to go and
closed down my account.

View Replies !
Stoping Spammers Posting Junk Using IP Address!!!
I have a colomb which stores the users IP I use this code to insert data :

<?php 
mysql_select_db("databse", $con); 
$IP=GetHostByName($REMOTE_ADDR); 
$Date = date("Y/m/d");
$tim = localtime(time(),true);
$Time=($tim['tm_hour'].":".$tim['tm_min'].":".$tim['tm_sec']);
$query="INSERT INTO ads (Email, Title, Date, Time, IP) VALUES ('$Email', '$Title', '$Date', '$Time', '$IP')"; 
print "Data was inserted successfully"; 
?>

How can I stop the same IP adding to databse unless minium 6 hours pass by
what should i add.

View Replies !
Why Are My Mails Always Landing In Spam/junk Boxes?
if there was anything you could do to help prevent the mails your server sends out from landing in spam/junk boxes at hotmail/gmail etc etc? I've set the X-mailer which I thought.

View Replies !
Php, Outlook 2k3
I have a php script that grabs user information from a form and
sends me an email when an order has been placed. how do I make the
default 'reply-to' address the email address of the customer? I'm
hoping to click 'reply' within outlook 2003 and not have to type in
each user's email for every order.

View Replies !
PHP And Outlook
I have an application part of which sends an email with attachment. I
have implemented this in php, BUT now the customer wants it to appear in
his Outlook email application (so he can amend defaults etc.)
I cannot find a way to get outlook to accept the attachment using the
mailto:
Is there another way? Can it be done, or is it inhibited by Outlook?

View Replies !
Outlook And PHP
Does anyone know how to update Microsoft Outlook dynamically?

i.e.  when their calendar is updated on a website, the next time they look at Outlook it will update with the new events...

If you don't know the complete solution or have any clues as to how to accomplish this, please let me know.  Any and all information (hints) is desired as I am pretty stumped with this one.

View Replies !
Outlook
Need help making Outlook using existing MySQL DB as its source for address book.  Application was created to manage MySQL based phone directory using PHP. Now management is inclined to use Outlook Address book. I would need to find some way to make Outlook to use existing MySQL DB as its source.

View Replies !
Including Outlook
IN MS outlook we have a thing set up so people can sceaduale the use of rooms/equiment is there a way to access this information from an intranet page? or at least have something that would open the persons outlook up into that area of outlook. It's just everyone seems to find it to complicated to hit the clock button then find "#*$!x" in the menu. You can tell them over and over agaibn this is how you request for this piece of equipment but they just don't get it. Bad thing is they don't use it then come back an hour before they need it and expect it to be there and waiting for them regrdless of someone else needing it.

View Replies !
Email For Outlook
I have gathered a list of emails and concatenated them into a string, for the purpose of using them to send emails out. I don't want to use the mail(), because I just want MS Outlook to open and put the list of emails stored in a var in the CC box.

This way the user can put whatever information they need into the email and click send and it will send it. Is it possible to put it into the CC box or is it just better for the user to use the mailto code in HTML.

View Replies !
Getting Data From Outlook
retriveing data (appointments) from Outlook and to show it
on my php-webpage. I found a link on the net (look below), but I don't got
the right settings in registry on my pc, missing the "Mapi.session" line. Is
there some application I have to install to get this up and working? Or are
there other ways to get data from Outlook?

View Replies !
PHP To Microsoft Outlook
Is it possible to send meeting notifications to microsoft outlook through php? I guess it would be sort of an e-mail sent to an individual telling them they have been invited to attend an event and the event info is automatically added to thier outlook calender or something?

View Replies !
Outlook Download
I have a event scheduler on-line. All is fine, but want to add the ability to download the event the person just signed up for right into outlook or any calendar, but outlook will be far and away the most popular. 

Not sure how to go about this? Looked for some classes at phpClasses. BUt nothing seemed to worked. Tried iCalCreator, but am getting too many errors on the Windows server we are sitting on?

View Replies !
Appointment In Outlook
I have a calendar application written in php for in-house use that I'm trying to extend so that when people book a holiday, day-off, training etc they automatically get an email configured as an appointment so they only have to click on 'accept' and it gets inserted into their outlook calendar.

I've sucessfully used the php mail() function within the application to create emails and that works ok but I can't find anything which tells me if its possible to do this. I've tried adding extra fields to the header (Location: When but to no avail.

View Replies !
Invoking Outlook
I have a PHP application that lists available bank statements, and allows the person at the computer to click and view the pdf statements. Currently, the product that I am looking to replace has a feature that allows people to email the pdfs using the rep's Outlook account.

(ie. it brings up their New Mail Message form, attaching the pdf, and allows the rep to enter in a message and email address of person sending to) This is great for us, since Outlook keeps track of what is sent in the sent folder, and allows us to fine tune the email. I have used PHP Mailer, but not sure how to simply invoke Outlook New Message and attach the pdf.

View Replies !
Linebreaks In Outlook
I'm having an awful time trying to format an automatic email. When the email is view in outlook it removes the linebreaks from the format if I add a " " to my code then the entire email is double spaced. Are there any hacks to get around the problem in outlook?

View Replies !
MS Outlook 2003
How can i format the phone number that was entered in digital signature to all the employees automatically? Do i need to write coding in VBScript editor which is available in MS Outlook 2003 or which software do i need to have to this formatting to be done?

Do i need to check which version the employees are using MS outlook and how can accomplish this for all the employees. How can i check with the active directory, if a person has email-ID or not? Please help me in finding the solution to format the electronic signature to company standard format.

View Replies !
Data Into Outlook
I wish to open outlook from php and and echo the results inside the outlook i.e, suppose i got client record with name, email, product id, product description, qty and summary of product.

View Replies !
Emailing From Outlook
I've downloaded phpmailer, and have read the readme file, and gone through all the other accompanying files, but where do you <b>actually start</b> please? Code:

View Replies !
Phpmailer Outlook
I have a problem with using phpmailer and outlook. whenever i send a mail using the phpmailer class outlook filters it as junk unless i put the word 'test' somewhere in the subject line. I just cant understand why, the mail filters correctly in hotmail and gmail, just outlook (which i REALLY need to accept it) is being a pain.

View Replies !
Add Event To Outlook
We have a calendar created via PHP and MySQL. Upon clicking on an event and viewing the full details of the event, we'd like to add a link that would download that event to Microsoft Outlook. The data for the download would come from the database which we'd Query via the unique ID for the event. Any ideas what format or how we'd go about creating the necessary PHP code to call the database, gather the event details, put them into the necessary format to work with Outlook and export the data to a file format that Outlook would automatically open?

View Replies !
PHP COM - Problems With Automating Outlook
I have been reading through some examples on using PHP with Outlook. I have been trying to get this simple example working, but its starting to really puzzle me. PHP Code:

View Replies !
Voting In Outlook 2003
I am tring to get my web page on the click of a button to generate a
mail from a person to a manager of a department, with voting buttons,
so that when the manager approves the request the relevant information
gets passed to HR. Is this possible in PHP? i understand the use of
mail() and so a message could be drawn up, however th inclusion of
votin buttons is the tricky bit!

View Replies !

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