nuSendEmail: $from, $fromname ignored?

Questions related to using nuBuilder Forte.

nuSendEmail: $from, $fromname ignored?

Postby kev1n » Wed Oct 23, 2019 4:42 pm

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.

Email Settings.png
Email Settings.png (6.03 KiB) Viewed 51 times


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 ...),


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.
kev1n
 
Posts: 322
Joined: Mon Oct 15, 2018 2:13 am

Re: nuSendEmail: $from, $fromname ignored?

Postby kev1n » Tue Nov 12, 2019 4:44 pm

Steven,

Do you know how this is supposed to work?

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.


Related question:
viewtopic.php?f=19&t=10105
kev1n
 
Posts: 322
Joined: Mon Oct 15, 2018 2:13 am


Return to General