Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

send email problem

Questions related to using nuBuilder Forte.
Post Reply
markzeryk
Posts: 17
Joined: Sat Nov 02, 2019 8:07 am

send email problem

Unread post 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,[]);
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: send email problem

Unread post 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
markzeryk
Posts: 17
Joined: Sat Nov 02, 2019 8:07 am

Re: send email problem

Unread post 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 :?
markzeryk
Posts: 17
Joined: Sat Nov 02, 2019 8:07 am

Re: send email problem

Unread post by markzeryk »

Where can I download an older nuBuilder version, where all this still worked?

Or how can you make it work again?
markzeryk
Posts: 17
Joined: Sat Nov 02, 2019 8:07 am

Re: send email problem

Unread post by markzeryk »

Steven can you help me?
markzeryk
Posts: 17
Joined: Sat Nov 02, 2019 8:07 am

Re: send email problem

Unread post by markzeryk »

markzeryk wrote:Steven can you help me?
Steven, just reply with yes or no.. Monologues are boring.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: send email problem

Unread post 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
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: send email problem

Unread post 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
If you like nuBuilder, please leave a review on SourceForge
Post Reply