Buy Now
Sign in

CFV5 Sending Two (2) Emails !

paulzero , March 14 2018
P
paulzero 27
March 14 2018 #376096
Hi Bob & Crew !

I'm having a weird problem with Email sending from CFV5;

The CFV5 form is called by a CCV5 'Edit Action'.

In the CFV5 form's custom 'Code' have one 'Input field' called 'textarea1' & other data called using {arrayname.field} etc.

All good - form echo's values just fine.

In the Email Action > Basic I am using | static 'From name' & 'From email' | 'Email format' = HTML | 'Template generation' = Custom | 'Email template' includes dynamic form data ( Email template field format used - {fieldname} ) - all outputting the correct data.

In the Email Action > Advanced I am using a 'dynamic to' email address & a 'Dynamic subject' ( Field format used arrayname.field ) - both are outputting the correct data.

BUT - CFV5 is sending two (2) copies of the Email - The first is correct & contains all the data but the second Email's 'Body' does not contain the dynamic content from the forms fields !

If I change the 'Dynamic to' to a static Email address - same result = 2 Emails sent

If I change the 'Dynamic to' & the 'Dynamic subject' to static - same result = 2 Emails sent

If I change the 'Dynamic to' & the 'Dynamic subject' to static & remove dynamic content from body = 2 Emails sent

I've check my Cpanel Email setup - all looks good - don't know what else to try.

Any ideas on how to fix this problem ?

Cheer - Paul Zero