send email problem

Questions related to using nuBuilder Forte.

send email problem

Postby markzeryk » Sat Nov 02, 2019 4:50 pm

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,[]);
markzeryk
 
Posts: 17
Joined: Sat Nov 02, 2019 4:37 pm

Re: send email problem

Postby kev1n » Mon Nov 04, 2019 5:59 pm

For the BCC + CC issue, I have provided a patch, which you need to apply manually.

nuSendEmail: CC and BCC removed?
viewtopic.php?f=19&t=10083

But zhis is still unsolved.

nuSendEmail: $from, $fromname ignored?
viewtopic.php?f=19&t=10086
kev1n
 
Posts: 777
Joined: Mon Oct 15, 2018 2:13 am

Re: send email problem

Postby markzeryk » Wed Nov 06, 2019 9:19 am

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 4:37 pm

Re: send email problem

Postby markzeryk » Thu Nov 07, 2019 11:54 pm

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 4:37 pm

Re: send email problem

Postby markzeryk » Fri Nov 15, 2019 3:57 pm

Steven can you help me?
markzeryk
 
Posts: 17
Joined: Sat Nov 02, 2019 4:37 pm

Re: send email problem

Postby markzeryk » Tue Dec 10, 2019 1:33 am

markzeryk wrote:Steven can you help me?


Steven, just reply with yes or no.. Monologues are boring.
markzeryk
 
Posts: 17
Joined: Sat Nov 02, 2019 4:37 pm

Re: send email problem

Postby kev1n » Thu Dec 12, 2019 4:37 am

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




viewtopic.php?f=19&t=10086
kev1n
 
Posts: 777
Joined: Mon Oct 15, 2018 2:13 am

Re: send email problem

Postby Janusz » Fri Dec 13, 2019 6:19 am

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
Janusz
 
Posts: 307
Joined: Fri Dec 28, 2018 10:11 pm
Location: Krakow, Poland


Return to General