Current location: Hot Scripts Forums » Programming Languages » PHP » bulk folder problem


bulk folder problem

Reply
  #1 (permalink)  
Old 06-08-06, 01:18 PM
AimHigh AimHigh is offline
Newbie Coder
 
Join Date: Jun 2006
Location: Europe
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy bulk folder problem

Hello everyone.
I have a problem, i use this script to send html emails.


PHP Code:

<?php

$to 
"blahblah@doesntmater.com";
$from "me@meagain.com"
$subject "HTML email.";
$headers "From: [email]myplace@here.com[/email]\r\n";
$headers .= "Reply-To: [email]myplace2@here.com[/email]\r\n";
$headers .= "Return-Path: [email]myplace@here.com[/email]\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

$message "<html><body>";
$message .= "<h1> This is a test </h1>";
$message .= "</body></html>";

if ( 
mail($to,$subject,$message,$headers) ) {
   echo 
"The email has been sent!";
   } else {
   echo 
"The email has failed!";
   }
?>
Ok, the problem is that all the emails arrived in the bulk or the junk folder, the thing I want to make clear is that I send the mails to yahoo accounts, I've send an email to one of my email address and it seems that the thing that triggers the spam filter is the IP of the server that I am using to send the mails. Can i use a smtp to avoid this problem ? And please any indication you have for me for this problem I would appreciate it.
Thank you very much.

Last edited by Christian; 06-08-06 at 02:05 PM. Reason: Please be sure and read all of the stickys before posting, http://www.programmingtalk.com/showthread.php?t=15024
Reply With Quote
  #2 (permalink)  
Old 06-08-06, 05:36 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
In short, you don't have any control over what happens when your mail is received. If they mark it as SPAM, they mark it as SPAM. There's nothing you can do about it from your end.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #3 (permalink)  
Old 06-09-06, 03:06 AM
AimHigh AimHigh is offline
Newbie Coder
 
Join Date: Jun 2006
Location: Europe
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
No I don't have any control when my email is received, but I do have control when I am sending, it must be a solution to send it from another server or something.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Server - Dreamweaver MX 2004 problem mcrob PHP 1 10-27-05 01:34 PM
creating a new folder with a self generating id# after a form is sumbitted bhinkle ASP 1 02-21-05 02:01 PM
Safemode restriction problem! memol PHP 0 11-01-04 01:19 PM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM
Dynamic links from folder hyjacked ASP 1 11-21-03 12:39 PM


All times are GMT -5. The time now is 07:16 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.