PHPMAILER_RECIPIENTS_FAILED

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

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.
User avatar
airton
Joomla! Ace
Joomla! Ace
Posts: 1368
Joined: Sun Nov 04, 2007 1:12 am
Location: Brazil
Contact:

Re: PHPMAILER_RECIPIENTS_FAILED

Post by airton » Wed Jan 20, 2010 3:24 am

v60edol wrote: Due I'm using Windows 2008 Server R2 and IIS 7.5 the "PHP Mailfunction" and "Send Mail" doesn't work for me. So I'm thinking that, if joomla is already able to connect to my Exchange Server 2007 and send to me (mailfrom) the system notification, there is only a problem with the configuration related to Recipient (mailto), but don't have idea witch line on Controller.php I'll need to change (and if is on joomla\components\com_mailto or joomla\components\com_contact folder).

Do you havy any suggestion?
I think this post might help you, Eduardo.

http://forum.joomla.org/viewtopic.php?f ... hilit=mail

Regards,
Airton Torres
Joomla Bug Squad http://groups.google.com/group/joomlabugsquad
Community website - http://community.joomla.org
Unsolicited support PMs will be deleted and the user added to the foes list.

v60edol
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jan 11, 2010 12:36 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by v60edol » Wed Jan 20, 2010 1:50 pm

Olá Airton,

I tried the suggested post but doesn't work for me. I'm still receiving the PHPMAILER_RECIPIENTS_FAILED error message ... :'(

Do you think that the information/field related to the "recipient" is different on the php configuration files (controller.php) and due this he can't match this information/field with the Exchange Server ??? Sorry if i'm saying bullshit cause I really don't know nothing about php ....

Thanks for your help and waiting new suggestions.

Eduardo.

v60edol
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jan 11, 2010 12:36 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by v60edol » Thu Jan 21, 2010 11:07 am

Anyone ??? Same problem yet ... :(

gabrielcapi
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jan 24, 2010 11:05 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by gabrielcapi » Sun Jan 24, 2010 11:18 pm

I have the same problem, i tried using php mail, sendmail and now SMTP i got error messgaes with the 3 options. now im using SMTP and i have this message: PHPMAILER_RECIPIENTS_FAILED

Somebody else can make it work? my website are in Godaddy Host.

Please Help me.

Cosworth32
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 21, 2007 6:07 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by Cosworth32 » Sun Jan 31, 2010 10:58 pm

I had the same problem occasionally. It turns out there is a spam protection timeout in components/com_mailto/controller.php named MAILTO_TIMEOUT which is set to 20 seconds. Meaning if you try s to send en email within 20 seconds of loading a page it will be rejected. I could consistently make it fails by making quickreplies to forum messages.
By reducing the value to 5 I can no longer reproduce the problem. Not sure if it helps anyone else but it sure bothered me for some time now.

gafo
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 26, 2010 12:26 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by gafo » Wed Feb 10, 2010 11:41 pm

Hey guys(oi para os brasileiros),

I am going through the PHPMAILER_RECIPIENTS_FAILED error.

I had everything working by morning and then on afternoon it was not working anymore.

I am using SMTP to send mails. I did import 1262 users to my community builder using the CBJuice plugin and it sent an e-mail to each on of the users with the username but without the password. So I deleted all users very quickly and when I imported them again, I got the PHPMAILER_RECIPIENTS_FAILED [email protected] error.

What could be wrong? I can't send any e-mails anymore.

I tried changing the controler.php on both components/mailto and components/contact but didn't work.

I really need help.

There you have my config.

Code: Select all

$offline	'0'
$editor	'tinymce'
$list_limit	'20'
$helpurl	'http://help.joomla.org'
$debug	'0'
$debug_lang	'0'
$sef	'0'
$sef_rewrite	'0'
$sef_suffix	'0'
$feed_limit	'10'
$secret	'xxxxx'
$gzip	'0'
$error_reporting	'-1'
$xmlrpc_server	'0'
$log_path	'/var/www/vhosts/adunb.org.br/httpdocs/novo/logs'
$tmp_path	'/var/www/vhosts/adunb.org.br/httpdocs/novo/tmp'
$live_site	''
$offset	'-3'
$caching	'0'
$cachetime	'15'
$cache_handler	'file'
$memcache_settings	array()
$ftp_enable	'0'
$ftp_host	'127.0.0.1'
$ftp_port	'21'
$ftp_user	'xxxxxx'
$ftp_pass	'xxxxxx'
$ftp_root	''
$dbtype	'mysql'
$host	'xxxxxx'
$user	'xxxxxx'
$db	'xxxxxx'
$dbprefix	'jos_'
$mailer	'smtp'
$mailfrom	'[email protected]'
$fromname	'ADUnB'
$sendmail	'/usr/sbin/sendmail'
$smtpauth	'1'
$smtpuser	'xxxxxx'
$smtppass	'xxxxxx'
$smtphost	'200.175.230.13'
$MetaAuthor	'1'
$MetaTitle	'1'
$lifetime	'15'
$session_handler	'database'
$password	'xxxxxx'
$sitename	'Portal ADUnB'
$MetaDesc	'Portal da Associação dos Docentes da Universidade de Brasília'
$MetaKeys	'ADUnB, Associação, Docentes, UnB, Universidade, Brasília'
$offline_message	'Este site está em manutenção. Por favor, retorne mais tarde.' 
Thanks a lot, Guilherme

strippy
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sat Nov 21, 2009 8:20 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by strippy » Fri Apr 02, 2010 9:22 am

Hi,

i have tried what you suggested here but also with no luck.

I have the website running on Windows 7 with IIS7.5, Windows Server 2008 with IIS7 and Windows Server 2003 with IIS6. On all 3 machines PHP is 5.3.2, mysql 5.1.45 and Joomla is 1.5.15.

We have our own mailserver, and i used my own user account as mail account. On Windows server 2003 the mail form works just fine. On Windows 7 and Windows Server 2008 i get all three error messages regardles of which mailer function i use.

I just can't send emails.

Please help. Would really like to be able to use a mail form instead of giving the address on the website.

Thank you

Marko

WSRyu
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sun Nov 29, 2009 5:46 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by WSRyu » Sat May 08, 2010 9:08 am

Hey, i get the same error, even after applying the hacks mentioned in this thread...

The weird thing, is that i can send to BackEnd, but not to FrontEnd!?!?!?

Well, im gonna try to install a newsletter exntension now...

WSRyu
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sun Nov 29, 2009 5:46 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by WSRyu » Sat May 08, 2010 10:07 am

WOHOO!!

i gave up on the joomla core mail function and installed AcyMail
http://extensions.joomla.org/extensions ... tter/10341

it works excellent and i can send mass mails as well.
hope it helps

ciao

strippy
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sat Nov 21, 2009 8:20 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by strippy » Mon May 10, 2010 7:07 am

hi,

i still don't know why it did not work. The solution to my problem was that i made a clean install of joomla and reinstalled the database and now everything works just fine.

marko

polipodepolipi
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat May 29, 2010 3:11 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by polipodepolipi » Sat May 29, 2010 3:16 pm

My host has a policy that no email can be sent through a site by sendmail that does not originate from an email address with the same domain as the site itself.
So, if i want to remain in this hosting server, i have just one way: haking joomla, like airton said. this is a problem for next upgrades, and i 'll have to change everytime the code.
Is there any other way, changing something in my host server?

tatatylm
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jun 21, 2010 3:40 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by tatatylm » Mon Jun 21, 2010 3:48 pm

Hello,
I am confuse. I have a few websites all in joomla, same server and different results about mail settings.

One of them works. The settings are:

Mailer: SMTP Server
Mail from: [email protected]
From Name: mysite name
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: none
SMTP Port: 25
SMTP Username: [email protected]
SMTP Password: ********
SMTP Host: localhost

So I used the same settings to the others, but:

one website seems to work, sends the contact form perfectly but never gets to my email.

other website seems to work, sends the contact form but not all of them get to my email.

but if I check to send me a copy, I do receive the copy.


I've tryed all changes, my email never receive from the contact form.


need some help as soon as possible.


thanks

timotool
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 30, 2007 12:05 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by timotool » Tue Jun 29, 2010 6:35 pm

Hi
I had the exact same issue, but it was quickly resolved by applying SMTP Authentication=YES and applying appropriate port number (not 25 - but a special port number that our hosting company provides)

Maybe your hosting company has a different port number when SMTP Authentication is turned on.

At least that's how I solved this issue.
Let us know.

Have a nice day.

chrisguk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Mon Nov 09, 2009 4:37 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by chrisguk » Thu Sep 02, 2010 4:25 pm

I just hit this problem with one of my Joomla components. For anyone else using the JMail class, I would just like to say, look VERY carefully at the parameters that all the functions take. The mistake I made was to pass an array to addCC(), thinking it worked like setSender(). It doesn't, and I ended up trying to send an email to a blank address, which worked fine on my server but coughed up PHPMAILER_RECIPIENTS_FAILED on a user's server. It's all a bit of a minefield - beware!

mrflores
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Feb 23, 2011 10:32 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by mrflores » Wed Feb 23, 2011 10:47 pm

I also tried everything in this forum and cannot get it to work

my error:
PHPMAILER_RECIPIENTS_FAILEDEmail

it doesn't eve add the email address at the end of the error like for some of you... am I missing some type of configuration? I have spend 3 days doing research and changing files and nothing works... I am not a PHP developer and really don't get how the variables are set

please help!

Thank you!

maintower
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Aug 28, 2009 1:56 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by maintower » Sun Feb 27, 2011 9:03 pm

Hi - I've just spent the day with this problem.

My site is a J! 1.5.22 with Jomsocial installed on the top. It seems I finally got it to work with SMTP in the following combination.

Neither the senders email address nor the senders name (2. and 3. field) can include any "funny characters - I live in scandinavia and had for a start a ø in the name = no good.

the sender email address is the same as the SMTP username and is on the same domain as the smtp host:

sender email: [email protected]
sender name: domain

SMTP username: [email protected]
SMTP server: mail.domain.com

Hope that can help you out

Dadha Kumar
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Oct 17, 2011 6:18 am

Php Mail Function, Sendmail, SMTP server - not working at al

Post by Dadha Kumar » Thu Nov 03, 2011 8:41 am

Hi,

I tried all the steps discussed in this thread. But none of them worked.

Can anyone help me with it?

Dadha Kumar
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Oct 17, 2011 6:18 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by Dadha Kumar » Thu Nov 03, 2011 9:38 am

Hi,

I've found the solution.

I didn't link the contact us form to any of the users.

Eventhough we choose the mailer options in Global configuration settings correctly we have to link one user to contact us form.

You can do it in components-->contacts-->Choose contact us form--> link the user.

http://forum.joomla.org/viewtopic.php?f=431&t=269239

Check the solution of terismikilis. It may help you.

Instead doing this basic thing I changed com_mailto/controller.php and com_contact/controller.php files as suggested in thread. I went back and changed all codes back to original. For some of others these files might have to be edited. But this is not in my case.

My suggestion is before changing these two files make sure that you've linked contact us form to any of the users.

In my case, this is the solution.

Now it works perfectly.

Hope this info may help to someone.

Thanks.

yaacovkrief
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jan 01, 2012 12:43 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by yaacovkrief » Sun Jan 01, 2012 12:48 pm

Hi All,

You may check also this before modifying code or configuration :
if you are using Joomfish don't forget to translate your email address. (translate > content element > contact > Label: Email Address)

This will save you hours of work.


Cheers

Yaacov

Alderin
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jan 10, 2013 8:33 pm

Re: PHPMAILER_RECIPIENTS_FAILED

Post by Alderin » Thu Jan 10, 2013 10:13 pm

Hello all. I'm getting this error, the "Could not instantiate mail function." and the PHPMAILER_EXECUTE error, depending on which mail system I select, from the Joomla Contacts contact form.

Joomla 1.5.26, hosting company: HostMonster, site is inherited and the first Joomla site I've worked with. I've been digging through code and removing backdoors and content hacks from spammers for a couple months, so I had some POST monitoring logs in place, when I saw a block of post data from a contact form, but no email.

I don't know how many inquiries have been lost, or how long it has been broken. I've tried every suggestion in this thread. All three errors are persistent.

The host is also the mail host, and the top-level-domain is the target for the alias/subdomain "mail.domain.com". To remove possible DNS problems, I also tried the SMTP server's IP address.

No errors are seen in the PHP logs, but I triple-checked the tmp directories and permissions.

Help?

Edit: For the moment, I've disabled the email forms in the Contacts. I may leave them disabled until we are ready for the overhaul-and-upgrade process to a newer Joomla.

soba123
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jun 16, 2014 5:27 am

Re: PHPMAILER_RECIPIENTS_FAILED

Post by soba123 » Mon Jun 16, 2014 5:41 am

Hi Airton,
I have changed all the lines which you have mentioned, the error "PHPMAILER_RECIPIENTS_FAILED" is shown again but the mail is working. In smtp settings, we have given as
Smtp host: localhost.
Smtp authentication: no

Please help me to solve this.


Locked

Return to “Administration 1.5”