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

Related Forum Messages:
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() 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 !
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 !
Php Mail Ends Up
I use a simple php mail script for many of my web sites

mail("my@recipient.com", "Subject text", "
My email message", "From: my@email.comr
X-mailer:PHP/" . phpversion());

Recently I found out that emails like this are filtered out by hotmail and outlook2003 and ends up in the junk mail folder. Why is that and how can I avoid it?

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 !
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 !
Mail() Sent To The Bulk Mail Folder
I simply send a confirmation email to someone who has registered on my site but thte message usually gets filtered or sent to the bulk mail folder. Can someone tell me what type of content I should put in the email to get around the filter? All my content is so far is a thanks for registering message and a link for them to confirm their email address.

View Replies !
Mail Arrives In Spam Folder
I have been trying to figure this out and have used 2 classes already, but still am unable to get this working. I'm trying to send an email verification link out to each user that registers on the site, but Gmail has been putting it in the spam folder. Here's a copy of the message: Code:

View Replies !
Mail Going To Yahoo Bulk Folder
I have got a small problem with the php mail function. I send mail to my yahoo account using mail function, it is going to the bulk folder instead of the inbox. I have included all the headers for the mail to function. This is the code I have used.

$to = "to@domain.com";
$subject = "Test Subject";
$headers = "MIME-Version: 1.0";
$headers.= "Content-type: text/html; charset=iso-8859-1";
$headers.= "From: MyName <MyEmail>";
$msg = "Test Message";
mail($to,$subject,$msg,$headers);

View Replies !
How To Ensure That EMAIL From Mail() Do Not Goes Into SPAM Folder?
Are there ways to prevent emails generated from mail() going into SPAM /
JUNK folder?

View Replies !
How To Access The Other Mail Folders Besides The Inbox Folder
How does one access the trash and other folders using PHP and pop3?

my client program only shows the contents of the inbox (quite
naturally I guess coz I always use 'INBOX' with my imap_open() calls.

issuing imap_open with 'TRASH' doesn't seem to be ok.

can this be done with imap_header_info()...and could someone
spare a rough script or pseudo code to do this.

can we work with folders using imap?

View Replies !
To Write Php Code To Zipped A Folder Mail To User
i need to develop a report generator to mail the web report (with image file)to user
I need to download my daily report  into a folder now my concern is how to zip my folder and send mail to my user and php function provide the zipped folder (or save folder a .zip).

View Replies !
Session Ends
I am looking for a simple way to detect session ends so I can update a
session table. I am new to PHP and don't understand how such event can be
handled, since there seems not to be a corresponding overridable function.
I've found 'register_shutdown_function', but apparently it detects
connection breaks while the page is being loaded (I'm not sure though).

I supose it will always be possible to control timeouted sessions by
polling, but I wouldn't like to do so. Of course, client side scripts are
not enough. I want to handle broken connections and prevent from evil users
too.

View Replies !
Email Ends In "@example.com
When users register for my site, I'd like to be able to limit which domain their email address can be from, so that only people with ".@example.com" addresses can sign up. It would kind of be the opposite of how WW checks to make sure your email isn't from a free webmail site.

The one idea I had was to do a string reverse (turn it into "moc.elpmaxe@...") then verify the first 11 characters to see if they match with the approved domain range. Is there a better way of doing this or am I on the right track?

View Replies !
Select All Rows Where The Dec Row Contains Or Ends With 0.
I need to select all rows * from a MySQL database where the dec column ends with 0 (or contains 0 if it is easier). How can I do that?

View Replies !
Script Never Indicates It Ends, Loading 11,000 Line Csv
 I have a script, PHP 4, that loads an 11,000 line csv file into a MySql data base. Running it loacally It completes and gives me the stats that I echo at the end.

Running on the server it does put in all the records, but never gives me the stats, there fore giving the illusion that it is in an endless loop.

If I cut the file down it ends as expected?

View Replies !
Echoing Zip Files.... Ends Up Corrupted
i'm currently trying to output a .zip file from the server... and to do that i use the following

//set the headers with the proper information
header("Content-type: Content-Type: application/x-zip");
header("Content-disposition: attachment; filename=myfile.zip");
[...]
//outputting file
$file=fopen($filename,"rb");
fpassthru($file);
fclose($file);

the $filename has been set in between... i can download the file properly... and i can even open it in winzip...

basically, i am trying to open this zip file (sxi file in disguise) with OpenOffice Impress... which is basically a zip file of XML files.

I can open the file in winzip and i can even see the file data when i double click it... but when i open it w/ openoffice, it can't read it properly..... HOWEVER, if i use the zip file that $filename points to straight from the server, it works.

basically, i think when i do the fpassthru, it gets corrupted...

to make this a little clearer (i know it's confusing) say i do:

fpassthru($file) where filename = "myzip.zip"

it doesn't work...

but if i go to:

mydomain.com/myzip.zip, save the file and open it in openoffice, it DOES work!

try it yourself ....

View Replies !
Destroying File When Browser Sess. Ends
I have a code that reads database output and writes it to a $temp file. It then uses the temp file on subsequent loads of the script instead of querying the database again. I would like to know if there is a way to delete the $temp file when the user ends the browser session.

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 !
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 !
Drag Files From One Folder To Another Folder (copy) .. Possible?
Is it possible to write codings PHP or Javascript.. GUI representation
of File handling (ie. Drag files from one folder to another folder (copy)
like our windows).. pls give me some reference codings like this..

View Replies !
Creates A Temporary Folder And A File Within The Folder.
I have a PHP script which creates a temporary folder and a file within the folder.

I have a problem when trying to remove the file and folder using my FTP program. The ownership and group are set to NOBODY. I cannot change the permissions on either the file or the folder.

I have tried chmod and chgrp and chown but for some reason I cannot change permissions.

View Replies !
Date :: Class Starts And The Time A Class Ends
I have a registeration system set up. The user registers the time a class starts and the time a class ends. These times are stored in mysql db with time type. How do I prevent double booking in this situation? e.g. If the class starts at 9:00 and ends at 10:30, how do I ensure that no class takes place between those times.

View Replies !
Remove From $name (folder)/(folder)/[x]/ <-- If Exists To Just Get [x].
I'll be quite honest. I don't have the faintest idea
how to do this, while I can do other php without a problem. Once I
know how to go about it I'll be okay.
It's two things I think?
1. see if there's a trailing slash and delete it.
2. Remove the preceding path to /x, the folders and slashes, and
delete them.
and then I have x.

X by the way is the final folder in a website and this grabs it for
me.

<?
$name = $REQUEST_URI;
?>

View Replies !
Get /folder/ To Redirect To /folder/index.php ?
I have a link www.example.com/folder/ but when people visit this i want it to go to www.example.com/folder/index.php because then it will log the page visit. Any ideas using mod rewrite i can get /folder/ to redirect to /folder/index.php ?

View Replies !
File In Folder Above Root Folder
I have a .php script in a folder one level above my website root, and I'd like to include it in pages in various website subfolders, some below the root. Can I use ($_SERVER['DOCUMENT_ROOT'] in the path in some way.

View Replies !

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