Please help!! mail() problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jack Smash

    #1

    Please help!! mail() problems

    I am having lots of trouble with the mail function!

    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.

    Please help!


  • Jochen Daum

    #2
    Re: Please help!! mail() problems

    Hi Jack,

    On Wed, 10 Mar 2004 15:03:17 -0500, "Jack Smash"
    <someone@somewe bsite.com> wrote:
    [color=blue]
    >I am having lots of trouble with the mail function!
    >
    >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.[/color]

    Personalise it, like using their name or username in the email and
    maybe what IP they submitted it from.

    Please note that some people (the author of that Bayesian Spam
    filtering) define Spam as "unsolicite d and automated", so if you send
    a confirmation to a user, that is not necessary, offer him a way to
    turn it off.

    HTH, Jochen
    --
    Jochen Daum - Cabletalk Group Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    http://sourceforge.net/projects/phpdbedittk/

    Comment

    • Filth

      #3
      Re: Please help!! mail() problems

      > I am having lots of trouble with the mail function![color=blue]
      >
      > 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.[/color]

      Ensure you are defining the headers. some spam filters will treat emails
      with out the correct headers as spam.


      Comment

      • Manuel Lemos

        #4
        Re: Please help!! mail() problems

        Hello,

        On 03/10/2004 05:03 PM, Jack Smash wrote:[color=blue]
        > I am having lots of trouble with the mail function!
        >
        > 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.[/color]

        It is possible that the mail function is sending a malformed message to
        recipient SMTP address.

        In that case you may want to try this class that comes with a wrapper
        function named smtp_mail(). It emulates the mail() function but it
        assures that the messages are well formed. It also lets you send
        messages via direct delivery like sendmail program, so not relaying in
        an intermediate server. This way, if the end SMTP server rejects the
        messages you can see the reason in the SMTP dialog that is outputted in
        debug mode.

        It is possible that you have DNS problems and so this will let you track
        them.


        http://www.phpclasses.org/mimemessage

        You also need this.

        http://www.phpclasses.org/smtpclass


        --

        Regards,
        Manuel Lemos

        PHP Classes - Free ready to use OOP components written in PHP
        http://www.phpclasses.org/

        PHP Reviews - Reviews of PHP books and other products
        http://www.phpclasses.org/reviews/

        Metastorage - Data object relational mapping layer generator

        Comment

        • R. Rajesh Jeba Anbiah

          #5
          Re: Please help!! mail() problems

          "Jack Smash" <someone@somewe bsite.com> wrote in message news:<jzK3c.483 0$R37.249@read1 .cgocable.net>. ..[color=blue]
          > I am having lots of trouble with the mail function!
          >
          > 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.[/color]

          AFAIK, this is a common problem with rigid spam filters like Hotmail
          and frequently discussed topic among PHP programmers. Most of the PHP
          programmers (IMHO) handle this situation by using PHPMailer
          <http://phpmailer.sourc eforge.net/> class; it seems to work all the
          time.

          --
          "I don't believe in the God who doesn't give me food, but shows me
          heaven!"--Swami Vivekanandha
          Email: rrjanbiah-at-Y!com

          Comment

          • Jack Smash

            #6
            Re: Please help!! mail() problems

            Thanks everyone for your kind responses! I will try them out and let you
            know how it goes.

            Thanks again!


            "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@r ediffmail.com> wrote in message
            news:abc4d8b8.0 403102112.3d1cc f04@posting.goo gle.com...[color=blue]
            > "Jack Smash" <someone@somewe bsite.com> wrote in message[/color]
            news:<jzK3c.483 0$R37.249@read1 .cgocable.net>. ..[color=blue][color=green]
            > > I am having lots of trouble with the mail function!
            > >
            > > 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.[/color]
            >
            > AFAIK, this is a common problem with rigid spam filters like Hotmail
            > and frequently discussed topic among PHP programmers. Most of the PHP
            > programmers (IMHO) handle this situation by using PHPMailer
            > <http://phpmailer.sourc eforge.net/> class; it seems to work all the
            > time.
            >
            > --
            > "I don't believe in the God who doesn't give me food, but shows me
            > heaven!"--Swami Vivekanandha
            > Email: rrjanbiah-at-Y!com[/color]


            Comment

            Working...