Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Sender ID question

Sender ID question

Scheduled Pinned Locked Moved Web Development
questionphphtmlcomhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MarkB777
    wrote on last edited by
    #1

    Hi, I have set up an HTML form on my webpage for users to send messages, so that we don't get lots of junk mail. The problem is the messages that are sent (via the PHP 'mail' function) are picked up as junk because there is no "sender ID". Is there a way around this so the messages are seen as valid? Cheers,

    Mark Brock "We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen Click here to view my blog

    M 2 Replies Last reply
    0
    • M MarkB777

      Hi, I have set up an HTML form on my webpage for users to send messages, so that we don't get lots of junk mail. The problem is the messages that are sent (via the PHP 'mail' function) are picked up as junk because there is no "sender ID". Is there a way around this so the messages are seen as valid? Cheers,

      Mark Brock "We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen Click here to view my blog

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      ini_set ("sendmail_from", "yourfakeemail@yourDomain.com"); Then make sure the sender is in your junk filter's allow list. Make sure all images are hyperlinks to images online somewhere and not attachments. For a better junk rating without using the allow list.

      Neonlight

      1 Reply Last reply
      0
      • M MarkB777

        Hi, I have set up an HTML form on my webpage for users to send messages, so that we don't get lots of junk mail. The problem is the messages that are sent (via the PHP 'mail' function) are picked up as junk because there is no "sender ID". Is there a way around this so the messages are seen as valid? Cheers,

        Mark Brock "We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen Click here to view my blog

        M Offline
        M Offline
        Marc Firth
        wrote on last edited by
        #3

        Also ensure all the correct headers are included ie: From Reply-To Content-Type mime-version eg: $headers = "From: Sendersender@yourdomain.com\r\nReply-To: sender@yourdomain.com"; //add boundary string and mime type specification $headers .= "\r\nContent-Type: text/html;"."MIME-Version: 1.0";

        Neonlight

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups