[UPHPU] mailing options???
Caleb Call
caleb at macjunk.org
Tue Mar 27 16:17:54 MDT 2007
Great, thank you!
On Mar 27, 2007, at 12:48 PM, Trevyn Meyer wrote:
> 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
>>
>
>
> _______________________________________________
>
> 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