Hi all,
I'm having a weird error on my form.
My Chronoform settings is set to use PHP Mailer.
Upon submit, the form shows that error above the thank you message. I tried to put the debugger on it and seems like the first email it tries to send fails (email to staff), but the second email goes out without any problem (confirmation email to user). If I drag and switch the two emails around so that it sends out the confirmation email first, still the first email (confirmation email) fails and the second email (email to staff) goes out without any issue. Please see debugger info below (all private/critical info has been replaced)
I'm having a weird error on my form.
Mailer Error: Could not instantiate mail function.
My Chronoform settings is set to use PHP Mailer.
Upon submit, the form shows that error above the thank you message. I tried to put the debugger on it and seems like the first email it tries to send fails (email to staff), but the second email goes out without any problem (confirmation email to user). If I drag and switch the two emails around so that it sends out the confirmation email first, still the first email (confirmation email) fails and the second email (email to staff) goes out without any issue. Please see debugger info below (all private/critical info has been replaced)
Array
(
[2] => Array
(
[Email] => Array
(
[0] => An email with the details below could NOT be sent:
[1] => To:staff@domain.org
[2] => Subject:Web Contact: User
[3] => From name:User
[4] => From email:user@domain.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:user@domain.com
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
First name: fname
Last name: lname
Email: user@domain.org
Phone: ##########
Message: This email was sent using CFv5 on WP
IP address: ###.###.###.###
Sent from: http://domain.org/contact-staff/
)
)
[4] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:user@domain.com
[2] => Subject:Domain web contact confirmation
[3] => From name:web contact
[4] => From email:DoNotReply@domain.org
[5] => CC:
[6] => BCC:
[7] => Reply name:web contact
[8] => Reply email:DoNotReply@domain.org
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
Thank you for contacting Staff Name. Your message has been sent with the information you've provided.
First name: fname
Last name: lname
Email: user@domain.org
Phone: ##########
Message: This email was sent using CFv5 on WP
IP address: ###.###.###.###
Sent from: http://domain.org/contact-staff/
)
)
)