error from website membership user-signup form

4 posts by 2 authors in: Forums > CMS Builder
Last Post: November 2, 2016   (RSS)

By ross - November 1, 2016

Hi celuch

Thanks for posting.

Are you using an email template with your signup form?

If you are, could you double check that in the template itself (ie: log into CMS Builder and look at the email template there)  has the "to" and "from" fields set.

If that's set and looks correct, could you post a copy of your form so I can review the code?

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

By celuch - November 2, 2016 - edited: November 2, 2016

I believe I found my error!  I had a bit of older code in the sending part of form.  Updated this and it works fine now!

Had This:

// send message
@$emailHeaders['headers']['CC'] = "me@me.com";
$mailErrors = sendMessage($emailHeaders);
list($mailErrors, $fromEmail) = wsm_sendSignupEmail($userNum, $passwordText);

Changed to:

// send message
list($mailErrors, $fromEmail) = wsm_sendSignupEmail($userNum, $passwordText);
if ($mailErrors) {

celuch

By ross - November 2, 2016

Hi celuch

Thanks for the update.

Glad you got that going. 

Keep us up to date with how you are making out.

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/