What happens if someone responds to an automated email?

Discussion in 'PHP' started by Tony Brar, Oct 15, 2012.

  1. #1
    Hey guys,

    What happens if a user is sent an email from a script and replies to it?
    Where does it go?
    What effect will it have on my server?

    Thanks,
    Tony
     
    Tony Brar, Oct 15, 2012 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    If the reply-to address is unattended it will go to whatever the server is configured to do. This is typically :fail or :blackhole, but can be setup to forward to an email box. The user may or may not receive a bounce message, again depending on how the server is configured. If the reply-to address is a real mailbox, it will be delivered and treated just like normal email.
     
    jestep, Oct 15, 2012 IP
  3. stock_post

    stock_post Prominent Member

    Messages:
    5,213
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    310
    #3
    If it is from a spammer they will put your email in a got response category so, they can spam you more.
     
    stock_post, Oct 15, 2012 IP
  4. Tony Brar

    Tony Brar Active Member

    Messages:
    220
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #4
    How do you set it up to forward to an email address?

    Thanks,
    Tony
     
    Tony Brar, Oct 15, 2012 IP
  5. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #5
    What server setup are you using? Normally you would just create a forwarding email address in your control panel. Then make sure to set a reply-to header in the function that sends the mail.
     
    jestep, Oct 15, 2012 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    If you want the reply to go to a particular email address, add a ReplyTo: header with that address. Almost every email program will use that when the user replies.
     
    Rukbat, Oct 15, 2012 IP