[SOLVED] Php changes incompatible with existing code?

Thank you, troester for the link.

So, my question 3 has an answer: $mailer->addCC exists (I am a fox...).

No answer about other questions?

1- Unfortunately, the php statement mail() no more works.​
I used​
$to = $riga['Nome'] . " " . $riga['Cognome'];​
$to .= " <" . $riga['E_mail'] . ">"​
(You know that it displays something like Franco Ciccio the email address is not displayed)​
How can fill the array $to to get the same using $mailer->addRecipient($to); ?​
2- How I can test that the email is sent, using JFactory::getMailer();?​
Using mail() I could write $xxx =mail(); and test if $xxx is true or false.​
 
2. is exactly the same
$xxx = mailer->Send();

1.
no idea if you can use an array $to =($to_email,$to_name) (like for $sender = ($from,$fromname))
just try
But in any case it's up to the recipients personal settings if he wants to see only a name or name + email.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top