Menu

From Email Address in process.php -the second

Help
Samir Joza
2003-01-14
2003-01-14
  • Samir Joza

    Samir Joza - 2003-01-14

    Hi first I wanted to write to the developer personally when I realized to check the BBS perhaps someone had this question. Est voila someone had the question but it has not been answered  :(
    Here is the problem: I have a Form set up with a mandatory E-mail field. I would like to parse this variable into the E-mail sent to me and show up as the from address. How would I do that ?
    Any help in this matter is greatly appreciated.

    TIA and keep up the good work an excellent and very usefull script.

     
    • Musawir Ali

      Musawir Ali - 2003-01-14

      Firstly, such an option doesn't exist in program. This is because that will make it too specific, and generally people have forms that are without any email address fields. So even though I've thought about this, I really can't add it to the main program.
      However, you can hack the processor.php file a bit and get it to do what you want. Open up the process.php file, and go to the line where it says "mail(... )". At the end of the mail function, you can insert another paramter like: "From: senders@email.address.com)"; and that will take care of that. Refer to www.php.net mail() documentation if you can't get it to work.
      Additional one-on-one support, and program customization is provided at the rate of $50/hr (see homepage for details).

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.