[UPHPU] mailing options???

Trevyn Meyer trevyn at esourcehome.com
Tue Mar 27 12:48:34 MDT 2007


That wont work

Use this
$to_email = "mantisit at domain.com, $from_email";


Caleb Call wrote:
> Well, I've been asked to tweak a form on our company intranet site so 
> that when it submits the form it will submit it to the email it has 
> been and to the original sender (kind of as a second confirmation that 
> the message was sent).  The code pertaining to this is as follows:
>
>         // lets send email to IT
>                 $from_email = $_SESSION['strUserEmail_g']; // get 
> email from intranet session
>                 $to_email = "mantisit at domain.com";
>                 $subject_email = "** $summary **";
>                 $body_email = "bug 
> id($bug_id):\nhttps://mantis.domain.com/view.php?id=$bug_id\n\n" . 
> $description;
>
> I think I can just add ['strUserEmail_g'] to the $to_email line.  Is 
> this correct?  Would my new line be as follows:
>
>         $to_email = "mantisit at domain.com", ['strUserEmail_g'];
>
> Thanks (yep, still a php newb)
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>



More information about the UPHPU mailing list