Advertisement
Could not instantiate mail function.
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Intern
- Posts: 93
- Joined: Sun Jul 05, 2009 1:53 am
Could not instantiate mail function.
Can't email out, always get this error "Could not instantiate mail function". I am in Go Daddy's as my server, and in the global functions the reading are as follows. Shouldn't some of this have filled in by itself. can anybody help?
Path to Temp-folder .tmp
GZIP Page Compression No
Error Reporting System Default
FTP SettingsEnable FTP No
FTP Host
FTP Port
FTP Username
FTP Password
FTP Root
Database Type mysql
Hostname ide0918705295534.db.2614367.hostedresource.com
Username ide0918705295534
Database ide0918705295534.
Database Prefix jos_
Mailer PHP Mail Functiion
Mail from my email address
From Name My ftp site name
Sendmail Path /usr/sbin/sendmail
SMTP Authentication No
SMTP Username
SMTP Password
SMTP Host
Path to Temp-folder .tmp
GZIP Page Compression No
Error Reporting System Default
FTP SettingsEnable FTP No
FTP Host
FTP Port
FTP Username
FTP Password
FTP Root
Database Type mysql
Hostname ide0918705295534.db.2614367.hostedresource.com
Username ide0918705295534
Database ide0918705295534.
Database Prefix jos_
Mailer PHP Mail Functiion
Mail from my email address
From Name My ftp site name
Sendmail Path /usr/sbin/sendmail
SMTP Authentication No
SMTP Username
SMTP Password
SMTP Host
Advertisement
- wlrdq
- Joomla! Hero
- Posts: 2672
- Joined: Thu Jul 24, 2008 12:48 pm
- Location: Austin, TX
- Contact:
Re: Could not instantiate mail function.
Some of this does not need to be filled in.
It sounds like mail is not working with Mailer set to "PHP Mail Function". Try switching it to Sendmail and see if that works. If not, you may have to do "SMTP Server", in which case you will need to fill out the "SMTP Authentication", "SMTP Username", "SMTP Password", and "SMTP Host". If you are supposed to be using "SMTP Server", GoDaddy should give you that information somewhere (like they do with the database).
I don't have much GoDaddy experience, so hopefully this helps. Let me know.
It sounds like mail is not working with Mailer set to "PHP Mail Function". Try switching it to Sendmail and see if that works. If not, you may have to do "SMTP Server", in which case you will need to fill out the "SMTP Authentication", "SMTP Username", "SMTP Password", and "SMTP Host". If you are supposed to be using "SMTP Server", GoDaddy should give you that information somewhere (like they do with the database).
I don't have much GoDaddy experience, so hopefully this helps. Let me know.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
-
- Joomla! Intern
- Posts: 93
- Joined: Sun Jul 05, 2009 1:53 am
Re: Could not instantiate mail function.
I've tried amny things nothing works. Now it's on Sendmil and it says you mail has been sent but I never get it, so I do not know where it is sending it to.
SMPT fails also. I see threads everywhere fir this and most lead nowhere....this should be this hard.
Anything else you can think of?
SMPT fails also. I see threads everywhere fir this and most lead nowhere....this should be this hard.
Anything else you can think of?
- wlrdq
- Joomla! Hero
- Posts: 2672
- Joined: Thu Jul 24, 2008 12:48 pm
- Location: Austin, TX
- Contact:
Re: Could not instantiate mail function.
I think you will be better off looking for a GoDaddy solution to the problem rather than a Joomla solution. Searching on Google turned up a lot of pages where people talk about getting SMTP working on GoDaddy. I would try a few of these:
http://rtur.net/blog/post/SMTP-with-GoDaddy.aspx
http://tutorials.jm-experts.com/joomla- ... oomla.html
http://www.experts-exchange.com/Softwar ... 59405.html
You might also try contacting GoDaddy and see if they can help. I think once you have the host, username, and password, it should be a snap. From the posts, it sounds like there may be a few switches you need to turn on first on GoDaddy's side, though.
Let me know if you still can't figure it out and I can try to help.
http://rtur.net/blog/post/SMTP-with-GoDaddy.aspx
http://tutorials.jm-experts.com/joomla- ... oomla.html
http://www.experts-exchange.com/Softwar ... 59405.html
You might also try contacting GoDaddy and see if they can help. I think once you have the host, username, and password, it should be a snap. From the posts, it sounds like there may be a few switches you need to turn on first on GoDaddy's side, though.
Let me know if you still can't figure it out and I can try to help.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
- GODADDY
- Joomla! Explorer
- Posts: 382
- Joined: Fri Sep 07, 2007 7:28 pm
- Location: Arizona
- Contact:
Re: Could not instantiate mail function.
mlabello,
If you're using the PHP Mail Function, you'll need to use the settings listed below. Let me know if you still need assistance.
Mailer: PHP Mail Function
Mail from: Full email address
From Name: Whatever you want to appear from sender. (Can't be blank.)
Sendmail Path: /usr/sbin/sendmail
SMTP Auth: No
SMTP User: Blank
SMTP Pass: Blank
SMTP Host: localhost or Blank
If you're using the PHP Mail Function, you'll need to use the settings listed below. Let me know if you still need assistance.
Mailer: PHP Mail Function
Mail from: Full email address
From Name: Whatever you want to appear from sender. (Can't be blank.)
Sendmail Path: /usr/sbin/sendmail
SMTP Auth: No
SMTP User: Blank
SMTP Pass: Blank
SMTP Host: localhost or Blank
-
- Joomla! Intern
- Posts: 93
- Joined: Sun Jul 05, 2009 1:53 am
Re: Could not instantiate mail function.
No sorry, tried that PHP version mentioned by Go Daddy many times........doesn't work. Anything else?
- GODADDY
- Joomla! Explorer
- Posts: 382
- Joined: Fri Sep 07, 2007 7:28 pm
- Location: Arizona
- Contact:
Re: Could not instantiate mail function.
mlabello,
PM me with the domain name and I'll take a closer look.
Thanks,
PM me with the domain name and I'll take a closer look.
Thanks,
-
- Joomla! Intern
- Posts: 93
- Joined: Sun Jul 05, 2009 1:53 am
- GODADDY
- Joomla! Explorer
- Posts: 382
- Joined: Fri Sep 07, 2007 7:28 pm
- Location: Arizona
- Contact:
Re: Could not instantiate mail function.
The server is processing mail without issue. Let's define the SMTP host as follows:
SMTP Host: relay-hosting.secureserver.net
SMTP Host: relay-hosting.secureserver.net
-
- Joomla! Intern
- Posts: 93
- Joined: Sun Jul 05, 2009 1:53 am
Re: Could not instantiate mail function.
Already tried relay-hosting..... didn't do it. Let me tell you a few more settings. See what you think.
Server settings
Path to Temp-folder = .tmp
GZIP Page Compression = No
Error Reporting =System Default
FTP Settings
FTP SettingsEnable FTP =No
FTP Host = blank
FTP Port = 21
FTP Username = blank
FTP Password = blank
FTP Root = blank
Database
Database Type = mysql
Hostname = ide0918705295534.db.2614367.hostedresource.com
Username = ide0918705295534
Database = ide0918705295534.
Database Prefix = jos_
Mail Settings
Mailer = PHP Mail Functiion
Mail from = mikelabello@gmail.com
From Name = identitygi.com
Sendmail Path = /usr/sbin/sendmail
SMTP Authentication = No
SMTP Username = blank
SMTP Password = blank
SMTP Host = blank
Server settings
Path to Temp-folder = .tmp
GZIP Page Compression = No
Error Reporting =System Default
FTP Settings
FTP SettingsEnable FTP =No
FTP Host = blank
FTP Port = 21
FTP Username = blank
FTP Password = blank
FTP Root = blank
Database
Database Type = mysql
Hostname = ide0918705295534.db.2614367.hostedresource.com
Username = ide0918705295534
Database = ide0918705295534.
Database Prefix = jos_
Mail Settings
Mailer = PHP Mail Functiion
Mail from = mikelabello@gmail.com
From Name = identitygi.com
Sendmail Path = /usr/sbin/sendmail
SMTP Authentication = No
SMTP Username = blank
SMTP Password = blank
SMTP Host = blank
-
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Jul 07, 2009 8:01 pm
Re: Could not instantiate mail function.
I tried writing a normal mail() script on my server. It works. So no host issues. But whenver I use the php mail func in joomla. It gives me a could not instantiate error.
- wlrdq
- Joomla! Hero
- Posts: 2672
- Joined: Thu Jul 24, 2008 12:48 pm
- Location: Austin, TX
- Contact:
Re: Could not instantiate mail function.
I've seen sites where they have certain PHP functions disabled for Apache. Try going to Help -> System Info and look at the PHP Information tab. Look for disable_classes and disable_functions.
Did you try calling your php script from a web browser and see if it still works?
Did you try calling your php script from a web browser and see if it still works?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Aug 07, 2009 11:01 pm
Re: Could not instantiate mail function.
Were you ever able to resolve this issue? I am using GoDaddy as well and have had the same issue since the beginning and have not been able to get any help for support at GoDaddy or the support from my template provider.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Jul 07, 2009 8:01 pm
Re: Could not instantiate mail function.
I have windows hosting thats why the problem. I have found out that the problem lies in the phpmailer.php in library/phpmailer. Lets see how it goes.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Aug 07, 2009 11:01 pm
Re: Could not instantiate mail function.
Finally got form mail in my website hosted at GoDaddy working with the following settings:
Mailer SMTP Server
Mail from 'adress setup in form mailer settings in GoDaddy Hosting Control Center'
From Name 'whatever name you wish to display in e-mail as the sender'
Sendmail Path /usr/sbin/sendmail
SMTP Authentication No
SMTP Security None
SMTP Port 25
SMTP Username blank
SMTP Password blank
SMTP Host relay-hosting.secureserver.net
Mailer SMTP Server
Mail from 'adress setup in form mailer settings in GoDaddy Hosting Control Center'
From Name 'whatever name you wish to display in e-mail as the sender'
Sendmail Path /usr/sbin/sendmail
SMTP Authentication No
SMTP Security None
SMTP Port 25
SMTP Username blank
SMTP Password blank
SMTP Host relay-hosting.secureserver.net
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Aug 17, 2009 7:19 pm
Re: Could not instantiate mail function.
Strike that i got it to work! Wow what a trek! Thanks to EVERYONE!
I still can not get this to work. My Global Configuration screen stopped allowing me to save I get this error
"An Error has occurred! Unable to open configuration.php file to write!"
so i alter it manually, I see the changes reflected all except the Mailer it will only stay on PHP even when i put SMTP Server in the field.
I have altered all files like mentioned above, Has anyone had ANY luck?
please e-mail me at contact@vampresearch.com
I still can not get this to work. My Global Configuration screen stopped allowing me to save I get this error
"An Error has occurred! Unable to open configuration.php file to write!"
so i alter it manually, I see the changes reflected all except the Mailer it will only stay on PHP even when i put SMTP Server in the field.
I have altered all files like mentioned above, Has anyone had ANY luck?
please e-mail me at contact@vampresearch.com
- klinkz
- Joomla! Apprentice
- Posts: 24
- Joined: Thu May 21, 2009 4:20 am
Re: Could not instantiate mail function.
Greeting, I have the same problem.
I try STMP according to G.D. it's smtpout.secureserver.net
put
Mailer : SMTP Server
Mail from : user@mydomain.com
From Name : Blank
Sendmail Path : /usr/sbin/sendmail
SMTP Authentication NO
SMTP Security NONE
SMTP Port 25
SMTP Username : user@mydomain.com
SMTP Pass : mypass
SMTP Host : smtpout.secureserver.net
it works on weblaunch (godaddy account) but in joomla when i go to read mail nothing ..
help plz
I try STMP according to G.D. it's smtpout.secureserver.net
put
Mailer : SMTP Server
Mail from : user@mydomain.com
From Name : Blank
Sendmail Path : /usr/sbin/sendmail
SMTP Authentication NO
SMTP Security NONE
SMTP Port 25
SMTP Username : user@mydomain.com
SMTP Pass : mypass
SMTP Host : smtpout.secureserver.net
it works on weblaunch (godaddy account) but in joomla when i go to read mail nothing ..
help plz
- GODADDY
- Joomla! Explorer
- Posts: 382
- Joined: Fri Sep 07, 2007 7:28 pm
- Location: Arizona
- Contact:
Re: Could not instantiate mail function.
klinkz,
For Mailer: SMTP Server
Instead of these:
SMTP Username: blank
SMTP Host: smtpout.secureserver.net
Try these:
SMTP From Name: Whatever you want to appear from sender. (Can't be blank.)
SMTP Host: relay-hosting.secureserver.net
Smtpout.secureserver.net is the relay setting used for mail clients such as outlook.
For Mailer: SMTP Server
Instead of these:
SMTP Username: blank
SMTP Host: smtpout.secureserver.net
Try these:
SMTP From Name: Whatever you want to appear from sender. (Can't be blank.)
SMTP Host: relay-hosting.secureserver.net
Smtpout.secureserver.net is the relay setting used for mail clients such as outlook.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sat Jul 18, 2009 9:56 pm
Re: Could not instantiate mail function.
Hi, can you please explain where this configuration file is?
Thanks.
Thanks.
GODADDY wrote:klinkz,
For Mailer: SMTP Server
Instead of these:
SMTP Username: blank
SMTP Host: smtpout.secureserver.net
Try these:
SMTP From Name: Whatever you want to appear from sender. (Can't be blank.)
SMTP Host: relay-hosting.secureserver.net
Smtpout.secureserver.net is the relay setting used for mail clients such as outlook.
- wlrdq
- Joomla! Hero
- Posts: 2672
- Joined: Thu Jul 24, 2008 12:48 pm
- Location: Austin, TX
- Contact:
Re: Could not instantiate mail function.
I think you can set these settings in Site -> Global Configuration on the Server tab or you can modify the Joomla configuration.php file that is in the root of your Joomla installation.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.
-
- Joomla! Apprentice
- Posts: 28
- Joined: Sun Nov 16, 2008 7:42 pm
Re: Could not instantiate mail function.
GODADDY wrote:klinkz,
For Mailer: SMTP Server
Instead of these:
SMTP Username: blank
SMTP Host: smtpout.secureserver.net
Try these:
SMTP From Name: Whatever you want to appear from sender. (Can't be blank.)
SMTP Host: relay-hosting.secureserver.net
Smtpout.secureserver.net is the relay setting used for mail clients such as outlook.
I tried this configuration because just for now reason my mails was giving me the same error..
Just out of the blue stopped working.....
But now at least the error goes away, but I'm not getting any emails received from my website.
I have registered an account on my own website and the emails I have sent out are not going out...
Why would it just out of the blue stop working like that and give me this error?
Why has joomla not addressed this issue already?
BTW, LOVE JOOMLA!!!!!!!!
**UPDATE**
Ok, I am getting my emails sent out.. just to quick on the post....
But still, why would this happen out of the blue like that???
Advertisement