Map field values to Email addresses error - Invalid address:

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Map field values to Email addresses error - Invalid address:

Post by forest-guy »

Brand new CMSMS installation on my PC with latest Xampp.

CGBetterForms: 1.10.1
Using handler: Send output via email depending on a dropdown/multi-option field
Map field values to Email addresses:

Code: Select all

1 | webmanager@rmfms.org
2 | editor@rmfms.org
3 | president@rmfms.org
4 | vice-president@rmfms.org
5 | secretary@rmfms.org
6 | treasurer@rmfms.org
Results in the following error:

Code: Select all

Invalid address: (addAnAddress to): webmanager@rmfms.org 2 | editor@rmfms.org 3 | president@rmfms.org 4 | vice-president@rmfms.org 5 | secretary@rmfms.org 6 | treasurer@rmfms.org
As soon as you save the form the return changes to: ;

and makes it one big line in the handler area:

Code: Select all

1 | webmanager@rmfms.org
2 | editor@rmfms.org
3 | president@rmfms.org
4 | vice-president@rmfms.org
5 | secretary@rmfms.org
6 | treasurer@rmfms.org
If I take out all but the 1st entry I get a little further, but it still errors out with:

Code: Select all

Could not instantiate mail function.
I saw that someone else had this same issue a while back but it wasn't solved as none of the developers could replicate the issue.

Anyone have a fix or solution for this?
Thanks
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: Map field values to Email addresses error - Invalid addr

Post by forest-guy »

Ignore the:

Code: Select all

Could not instantiate mail function.
in the original post. Not relevant (Duh - forgot to sent up sendmail with new xampp)

So it works fine.... as long as you only have one line in the map fields. As soon as you add additional lines and save, the returns get replaced with the 
 as indicated above.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Map field values to Email addresses error - Invalid addr

Post by calguy1000 »

I have made corrections to the editor processing for the next version of CGBF.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

re: Map field values to Email addresses error - Invalid addr

Post by forest-guy »

;D
Downloaded and installed:
CGBetterForms: 1.10.2
CGExtensions: 1.64.8

Tested with multiple entries in "Send results via email based on value of field contact" handler.

(also added into my form the attribute "data-cgbf-replyto" so a reply to would go to the person sending in the comment - thanks for pointing that out calguy1000)

Everything works like a charm!
Thanks Calguy1000
Locked

Return to “Modules/Add-Ons”