Form submissions and emails..

Discussion in 'Programming' started by iBold, Mar 22, 2006.

  1. #1
    I am trying to use a simple form to submit to an email address, which in turn pipes into my helpdesk (to automatically create a ticket). Unfortunetly, instead of using the 'from' field to define who the ticket came from, it is using the 'return path'. Is there a way to define the return path so my helpdesk knows who submitted it? Right now it shows up as , and as such creates lots of tickets for the user .

    I imagine this was put in place to prevent spammers from pretending to be someone else, but I would think there would be a way to fool my own server into believing something I wanted it to, correct?
     
    iBold, Mar 22, 2006 IP
  2. Paz

    Paz Well-Known Member

    Messages:
    587
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Hi,

    If I understand you correctly, yes it's possible, but the exact solution depends how you are sending the mail. Here's an asp example of how it works.

    http://www.brainjar.com/asp/formmail/default.asp

    Even if you're not using ASP, or CDONTS, the principle is the same.

    Does that help?

    Cheers,
    Paz.
     
    Paz, Mar 23, 2006 IP
  3. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, we would need to see the script you use to send the emails though.
     
    mad4, Mar 23, 2006 IP