nuSendEmail: $from, $fromname ignored?
Posted: Wed Oct 23, 2019 9:12 am
Hi Steven,
Even when I pass a $from and $fromame in nuSendEmail($to, $from, $fromname ...), these arguments are not used when sending an email. Instead, the ones from the Email Settings are used.
E.g. : I send an email providing these arguments:
The provided arguments are ignored but the "From address" test@test.com and "From Name" Tester from the Email Settings are used.
This was not the case with older nuBuilder versions.
Even when I pass a $from and $fromame in nuSendEmail($to, $from, $fromname ...), these arguments are not used when sending an email. Instead, the ones from the Email Settings are used.
E.g. : I send an email providing these arguments:
Code: Select all
$to = "something@test.com";
$from = "nubuilder@test.com";
$fromname = "nuBuilder";
nuSendEmail($to, $from, $fromname ...),
This was not the case with older nuBuilder versions.