Menu

Changing receipiant address

Help
PLL 31337
2005-06-03
2013-06-03
  • PLL 31337

    PLL 31337 - 2005-06-03

    I am trying to make a form to send private messages in my intranet. The system is set up so that your pbx extention is for email address. I made a form that lets the person enter their number ("YourNumber"), a subject box ("Subject"), recipiant's number ("TheirNumber"), and message box ("Message").
    What I am wanting is the "YourNumber" to be From:, Subject to be the subject, message be the email text, and "TheirNumber" to be the address it's sent to.
    I have all but "TheirNumber" working.
    Here is the code:
    mail("$TheirNumber;@ourdomain.com","$Subject;",$message,"From: $YourNumber;");
    Is it the "@" sign that is messing it up?

     
    • PLL 31337

      PLL 31337 - 2005-06-03

      Someone showed me the solution. It is to remove the ";" after TheirNumber.

       

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.