Error:Could not instantiate mail function.[SOLVED]

Rob Jones created the topic: Error:Could not instantiate mail function.[SOLVED]

URL: www.perryga.com
Joomla Version: 1.5.26

I get the following errors when trying to submit a form from the front end of the site:

Could not instantiate mail function.
Error, email was not sent.

I've done some Googling, but have not found any conclusive answers about what's going on.

Can somebody help me get this sorted out?

#4037

Please Log in or Create an account to join the conversation.


Support replied the topic: Re: Error: Could not instantiate mail function.

Dear Rob,

Perhaps you hosting service does not provide email sending features.

As a workaround you can use SMTP server.

Setting an external SMTP server, such as GMail should work. But GMail requires authentication.

Mailer: smtp
SMTP Authentication: yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: your gmail full address
SMTP Password: your gmail password
SMTP Host: smtp.gmail.com


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#4048

Please Log in or Create an account to join the conversation.


Rob Jones replied the topic: Re: Error: Could not instantiate mail function.

Thanks for the suggestion! I will give that a try and let you know if it takes care of it.

#4058

Please Log in or Create an account to join the conversation.


Rob Jones replied the topic: Re: Error: Could not instantiate mail function.

No luck. This is the error I get when I switched to SMTP/Gmail:


SMTP Error! Could not connect to SMTP host.

Error, email was not sent.

#4059

Please Log in or Create an account to join the conversation.


Support replied the topic: Re: Error: Could not instantiate mail function.

Dear Rob,

Probably you are doing something wrong. Also try to use an address in the FROM field that is registered with your domain name.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#4060

Please Log in or Create an account to join the conversation.


Rob Jones replied the topic: Re: Error: Could not instantiate mail function.

I'm pretty sure that I'm doing something wrong :)

I just don't know what that might be!

#4061

Please Log in or Create an account to join the conversation.


Support replied the topic: Re: Error: Could not instantiate mail function.

Dear Rob,

Could you please give us (to [email protected]) super admin access to your site. we'll try to fix the problem as soon as possible.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#4062

Please Log in or Create an account to join the conversation.


Rob Jones replied the topic: Re: Error: Could not instantiate mail function.

I put it back to PHP mail and used a valid address from the domain as the "From" address, and I'm no longer getting the error when I try a test.

I sent a form to myself and it worked! So that seems to have fixed it.

I never knew that the "From" address made a difference, but it looks like it does. Thank you for the suggestion!

#4063

Please Log in or Create an account to join the conversation.


Support replied the topic: Re: Error: Could not instantiate mail function.

Dear Rob,

Yes. Sometimes hosting providers set restrictions on email addresses that are being used in the From field.

You are welcome.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#4066

Please Log in or Create an account to join the conversation.


Time to create page: 0.212 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us