Buy Now
Sign in

could not instantiate mail function

sifaka , February 01 at 23:01
S
sifaka

I justed ported my revised website from a free server onto the main. When I try to use the form, I get the error message "Could not instantiate mail function" What is it I need to change? It was working well before I transferred the website.

S
sifaka

You don't have to reply to this post. I needed to fill in the "From email" and probably "From name" fields in the setup area.

R
restore

There is that nice and helpful red line about auto complete if left empty. Which is not true and quite confusing, something about important fields would be more helpful. ​

GreyHead

HI restore,

I think that if you leave them empty then CF will use the From Email and Name set in the site configuration.

Bob

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
R
restore

Hi Bob,

that may be true, but result is that email is sent without problem, yet it will not make it even tru google server spam filter, not even to users spam bin. So there isnt any real error or something, just emails are disappearing without trace. In my case it didnt add default values and while now i know what to look for, as for new user there werent any clues how to solve it or importance of those fields in whole process.​

GreyHead
Hi restore,
Then you need to check your Email settings - and the content to make sure that they are not blocked by GMail. Two main things are that the From address must match the site domain; and the To and From addresses must be different.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
sifaka
Greyhead,
My recipients list email names are different from my from email. And the from email agrees with my config.php. but i'm not sure about how to fill in reply email and reply name. Ideas? I'm getting a "could not instantiate mail function" or it gives the custom code as though the mail has been sent, but the error checker says the mail could not be sent.
I might have answered my own question. The forms work when I leave those fields empty.
GreyHead
Hi sifaka,
The 'Reply To' boxes are for use if you want to set the email reply to address to something other than your site From Email address. They both heed to be completed and the Email box needs to have a valid email - or a form variable short-code that returns a valid email address.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much