Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Userdefined forms 0.2 + send_all_emails_to


Go to End


1007 Views

Avatar
Double-A-Ron

Community Member, 607 Posts

27 January 2010 at 1:47pm

Edited: 27/01/2010 4:00pm

Hi there,

We have a site that uses offers custom branding to partners and changes the default email address for all contact forms to that of the partner. These email addresses are stored in a standalone table.

This was done in _config.php using Email::send_all_emails_to('myemail@mydomain.com');.

This was fine in version 2.2.2, however when we upgraded to 2.3.3 with Userforms, this static method doesn't seem to be respected anymore. Nor does cc_all_emails_to();. Emails simply are not sent. Does Userforms no longer use this when figuring out the email recipient?

Note that all is well when we add a an email to the recipients tab in the CMS, the email is sent to that address just fine, so the problem definitely lies in that it is not picking up these global email addresses. (e.g. No other part of the email process seems to be failing)

Cheers
Aaron