Current location: Hot Scripts Forums » Programming Languages » PHP » how can i stop my PHP mail going to BULK ?


how can i stop my PHP mail going to BULK ?

Reply
  #1 (permalink)  
Old 03-06-06, 07:45 AM
sham85131's Avatar
sham85131 sham85131 is offline
Newbie Coder
 
Join Date: Oct 2005
Location: india
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Question how can i stop my PHP mail going to BULK ?

i have to send a mail through my PHP script it work well
but the mail goes to the bulk.
Because the server treat this mail as Spam mail.
if any body have solution on this topic plz help me .


sham shriwastav
php Programer
india
Reply With Quote
  #2 (permalink)  
Old 03-06-06, 08:38 AM
FiRe FiRe is offline
Code Guru
 
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
make sure there are no "spam keywords" in it (e.g. viagra, p0rn etc), provide your full name and email address when sening mail, use appropriate headers, dont send html emails! thats your best chance of getting it to an inbox...
__________________
Alexa Share <-- Trade virtual shares in websites with this online game.

codR.us <-- Submit and vote for your favorite code snippets with codR.us.

XEWeb.net <-- The ultimate PHP resource network.
Reply With Quote
  #3 (permalink)  
Old 03-06-06, 02:43 PM
jac2703's Avatar
jac2703 jac2703 is offline
Newbie Coder
 
Join Date: Jan 2006
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by FiRe
make sure there are no "spam keywords" in it (e.g. viagra, p0rn etc), provide your full name and email address when sening mail, use appropriate headers, dont send html emails! thats your best chance of getting it to an inbox...
I agree, the big one is the originators email address and keywords. I use a simple mail instruction of:

PHP Code:

$toemail "bob@hotmail.com" ;        // this is the reciever

$subject "mail subject" ;
$emailmessage "this is my message" ;
$myemail "admin@domain.com" ;

mail$toemail$subject$emailmessage"From: $myemail); 
I have never had a problem reported with this.

Here is the full list of parameters


Regards

James
__________________
JamesCoyle.net Blog and Network tools.
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
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
PHP mail function and sending php content. strings6 PHP 4 12-27-05 08:03 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
Converting perl to php. Help!! macruddace PHP 1 04-14-05 05:29 PM
converting perl script to php help!! macruddace Perl 1 04-14-05 02:38 PM


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