Page 1 of 1
send email problem
Posted: Sat Nov 02, 2019 8:20 am
by markzeryk
nuSendEmail($to, $from, $fromname, $content, $subject, $filelist, $html = false, $cc = "", $bcc = "", $reply_to_addresses = array())
Hi,
I send 2 emails with php after saving my form.
user1@domain.com and
user2@domain.com receive the email but not the ones in copy and also the from and fromname are not transmitted.
Can someone tell me if I'm doing something wrong?
nuSendEmail('
user1@domain.com','
admin1@domain.com','nuBuilder','content','subject',[],false,'
mycc1@domain.com','
mybcc1@domcain.com,[]);
nuSendEmail('
user2@domain.com','nuBuilder','
admin2@domain.com','content','subject',[],false,'
mycc2@domain.com','
mybcc2@domcain.com,[]);
Re: send email problem
Posted: Mon Nov 04, 2019 9:29 am
by kev1n
For the BCC + CC issue, I have provided a patch, which you need to apply manually.
nuSendEmail: CC and BCC removed?
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=10083
But zhis is still unsolved.
nuSendEmail: $from, $fromname ignored?
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=10086
Re: send email problem
Posted: Wed Nov 06, 2019 12:49 am
by markzeryk
I'll take a look at it.
Is there a solution for
from and fromname are not transmitted.
I can't imagine being the only one who needs that

Re: send email problem
Posted: Thu Nov 07, 2019 3:24 pm
by markzeryk
Where can I download an older nuBuilder version, where all this still worked?
Or how can you make it work again?
Re: send email problem
Posted: Fri Nov 15, 2019 7:27 am
by markzeryk
Steven can you help me?
Re: send email problem
Posted: Mon Dec 09, 2019 5:03 pm
by markzeryk
markzeryk wrote:Steven can you help me?
Steven, just reply with yes or no.. Monologues are boring.
Re: send email problem
Posted: Wed Dec 11, 2019 8:07 pm
by kev1n
Hi,
You can try my suggestion here while waiting for an update:
admin wrote:We are rewriting the nuEmail() function.
It will be done in about a week.
Steven
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=10086
Re: send email problem
Posted: Thu Dec 12, 2019 9:49 pm
by Janusz
As well it's possible to use directly php mail() instead of nuSendMail() if smtp service is configured on the server
then completelly no settings in nuBuilder is required - just only to place the mail() function in any part of php procedure and everything works well - it will use directly system service to send mail
Tested and works well on Linux and on Windows Server (Cc, Bcc works fine)
https://www.php.net/manual/en/function.mail.php