Adding multiple into CC or mail field

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
vesser
User
Posts: 5

Adding multiple into CC or mail field

Post by vesser »

Hello, hope this will be a quick one.

If you are using the mail function inside PHPMaker, how would I go about adding in multiple queries into the $Email ->Cc or other feild? For example

THIS WORKS
$Email->Cc = $Args["rsold"]["username_email"];

This does not
$Email->Cc = $Args["rsold"]["interested_parties"]. $Args["rsold"]["username_email"];

The rsold is OK because it's a change to existing records.

Thank you in advance.


mobhar
User
Posts: 11708

Post by mobhar »

$Email->Cc = $Args["rsold"]["interested_parties"] . "," . $Args["rsold"]["username_email"];


vesser
User
Posts: 5

Post by vesser »

Thank you again, worked perfectly.


Post Reply