Joomla E-mail could not be sent [FIXED]

A lot of people are experiencing problems with Joomla not sending mail out, notably from the Email Pop window, the system simply returns “E-mail could not be sent”.
In this article we show how to fix the problem quickly and easily.
Problem
Joomla not sending out email via pop up window
Solution
To resolve this problem, open this file:
components/com_mailto/controller.php
Locate the following line of code (approximately line 57):
if($timeout == 0 || time() - $timeout < 20) {
Change the line to the following:
if($timeout == 0 || time() - $timeout > 20) {
Save, Upload and test.
You can also increase the time from 20 to say 50.
You can read more about this bug here
Told you it was an easy fix ![]()
Related Articles
- 17.05.11: Currency drop down selector in header, Magento (3)
- 14.02.11: Perl files download instead of executing / processing (fixed) (0)
- 05.04.11: CSR contains a key size that is less than 2048 bits (0)
- 26.07.11: Backup Incoming and Outgoing mail for your domain EXIM (0)
- 08.04.11: Rename SMTP Banner Exim (1)









Comments RSS Feed





Thanks a lot dude…
Go to Top of the page
Thanks! Small fix for a big problem!
Go to Top of the page
This was originally posted here: http://forum.joomla.org/viewtopic.php?f=471&t=376453&start=0
There are additional fixes posted for users that are experiencing similar email issues.
Go to Top of the page
Yes, and here it is in a simple, easy to understand format.
The correct link is supplied in the post above as the Bug report, where the original fix was derived for your link!
Go to Top of the page
You are a lifesaver! This fixed the problem for me - no problem!
Go to Top of the page
Thanks a lot!!! Fixed the problem immediately:-)
Go to Top of the page
Muchas gracias!
Go to Top of the page
Thanks a zillion, this information is useful.
Go to Top of the page
Thank you!!
That headache is gone!
Go to Top of the page
This is not a very good solution.
the sentence :
if($timeout == 0 || time() - $timeout
‘ );
return false;
}
form.submit();
}
–>
Go to Top of the page
Sorry above too lengthy message. Fix the problem in mail_to/tmpl/default.php by creating a delay before form.submit().
Go to Top of the page
Wohah!!!, Its Works, Thanks Man, Great Job
Go to Top of the page
After making the changes I still get the
– Email could not be sent. –
Using Joomla 1.6.3
Go to Top of the page
Dude… Thanks so much.
I have tweaked the mail settings for 3 hours now… nothing works.
You are the first in like 100 search results that gives me this tip.
I looked at you sollution for like 20 times to even notice the difference..
Thanks!!!! This works like a charm.
Go to Top of the page
THANK YOU! Such a small thing was driving me NUTS!
Go to Top of the page