LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-05-2004, 01:44 PM   #1
jacksmash
Member
 
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Rep: Reputation: 30
Sending email with PHP


Why is it that when I send confirmation emails that they always either get filtered or sent to the bulk email folder?

Even for a few websites that I am registered on, when I get a notification of a reply to a post, it comes to my bulk folder.

Anyone know a way around this?

Thanks
 
Old 03-05-2004, 08:01 PM   #2
jacksmash
Member
 
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
No ideas from anyone? Please?
 
Old 03-07-2004, 02:33 AM   #3
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 417

Rep: Reputation: 31
could you give me a little more information?
 
Old 03-07-2004, 06:58 AM   #4
jacksmash
Member
 
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
I would love to.

Some user fills out a form to register on a site. As soon as they click Submit, I use the php function "mail()" to send them a confirmation email.

The only thing is, the email always gets filtered as if it were bulk mail or spam, and I'm not sure why.
I'm not sure if it has something to do with how I'm using the function itself, or if it has something to do with the hosting company I'm using.

For example, I use yahoo mail - and when I do a registration test, it gets sent to my Bulk mail folder each time.

Hope this is enough info.

Thanks
 
Old 03-07-2004, 10:56 AM   #5
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 31
I think that has a lot more to do with whatever the mail recipient is using for a SPAM filter than with how you're sending the mail. About all you could do is to possibly try and change the subject so that SPAM filters wouldn't think it is a bulk mail... but then some of them may go off of who the mail is from and get filtered anyway.

Not sure there is anything you can really do about it. If the user knows it's not spam mail, they can usually adjust their settings to allow it through, but then that implies that you will be sending more than 1 e-mail since they wouldn't know to setup that in advance.
 
Old 03-09-2004, 02:31 PM   #6
jacksmash
Member
 
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
But other emails from PHP forum on the same site have no problem getting through!
There must be a solution to this.
 
Old 03-09-2004, 03:16 PM   #7
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 31
I don't know what else to tell you. So far as I know, there is nothing with SMTP where you can say, "Don't send this to a bulk mail folder." If there were, the spammers would have a field day, and anti-spam software would be useless.

Not everyone even necessarily even HAS a "bulk mail" folder. All that stuff is handled either by the users mail client, or by their mail server.

I'm about 99% sure that your problem is in how your spam filters are working for the recipient mail server. Some filter based on content of the subject/body, some based on the sender's e-mail, some based on the recipient e-mail if it's not what it should be, some will note that you get a lot of e-mail with the same subject, and assume it's junk mail...
 
Old 03-10-2004, 05:10 PM   #8
Technonotice
Member
 
Registered: Mar 2004
Location: UK
Distribution: Debian Unstable
Posts: 58

Rep: Reputation: 15
Most spam filters (SpamAssassin for example) will work on the number of links and key phrases in the e-mail. If you're using marketing phrases, or putting a lot of links in, they'll class it higher up the "spam scale". I've noticed SpamAssassin has rules to see whether a mail agent was supplied - if not then it's probably mass mailed.

SpamAssassin is particularly good I find as you can make it add a report in the headers of the received e-mail to tell you how it worked out the points and for which "offences".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PHP] Sending shell commands from PHP pEeDy Programming 4 11-04-2005 08:06 PM
Sending email in PHP, what headers should I use? abefroman Programming 2 10-12-2005 02:49 AM
sending email GraemeK Linux - Networking 1 08-24-2003 05:14 PM
sending email csDraco_ Slackware 5 08-22-2003 05:50 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 01:26 PM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration