[Skip to main content](#vessel-content)

#   Notify multiple email addresses

##

- **[mett](/forum/user/1080-mett "View mett's Profile")**
- [![mett's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1080-mett "View mett's Profile") Topic Author
- [ Offline](/forum/user/1080-mett)

Less More

- Posts: 126
- Thank you received: 2
-
-

15 years 5 months ago [\#15736](#15736) by [mett](/forum/user/1080-mett "View mett's Profile")  *[Notify multiple email addresses](/forum/4-how-to/15736-notify-multiple-email-addresses#15736 "Hello,  Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: but after press Ok i get this message:  PHPMAILER&#95;RECIPIENTS&#95;FAILED  The email addresses are correct.")* was created by *[mett](/forum/user/1080-mett "View mett's Profile")*

Hello,

Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: address1@mail.com,address2@mail.com but after press Ok i get this message:

PHPMAILER_RECIPIENTS_FAILED address1@mail.com,address2@mail.com

The email addresses are correct.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzM2LW5vdGlmeS1tdWx0aXBsZS1lbWFpbC1hZGRyZXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 5 months ago [\#15751](#15751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Notify multiple email addresses](/forum/4-how-to/15736-notify-multiple-email-addresses#15751 "Hello,  Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: but after press Ok i get this message:  PHPMAILER&#95;RECIPIENTS&#95;FAILED  The email addresses are correct.")*

Hi,

That's a common problem on joomla apparently:

[ www.dmackmedia.net/dmforum/showthread.php?tid=27](http://www.dmackmedia.net/dmforum/showthread.php?tid=27)
[ forum.joomla.org/viewtopic.php?p=2136062](http://forum.joomla.org/viewtopic.php?p=2136062)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzM2LW5vdGlmeS1tdWx0aXBsZS1lbWFpbC1hZGRyZXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[mett](/forum/user/1080-mett "View mett's Profile")**
- [![mett's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1080-mett "View mett's Profile") Topic Author
- [ Offline](/forum/user/1080-mett)

Less More

- Posts: 126
- Thank you received: 2
-
-

15 years 5 months ago [\#15772](#15772) by [mett](/forum/user/1080-mett "View mett's Profile")  Replied by *[mett](/forum/user/1080-mett "View mett's Profile")* on topic *[Re: Notify multiple email addresses](/forum/4-how-to/15736-notify-multiple-email-addresses#15772 "Hello,  Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: but after press Ok i get this message:  PHPMAILER&#95;RECIPIENTS&#95;FAILED  The email addresses are correct.")*

Can't make it work. I changed code in controller.php in contacts, tried without username and password, without authentication..can't make it work.

Strange is that i can send mails to new users or using mass mail (with and without BCC). I can use vemod news mailer component to send notifications to all users...any other ideas?

P.S: i also tried to use address1@mail.com;address2@mail.com (using ; as delimiter), same problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzM2LW5vdGlmeS1tdWx0aXBsZS1lbWFpbC1hZGRyZXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 5 months ago [\#15787](#15787) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Notify multiple email addresses](/forum/4-how-to/15736-notify-multiple-email-addresses#15787 "Hello,  Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: but after press Ok i get this message:  PHPMAILER&#95;RECIPIENTS&#95;FAILED  The email addresses are correct.")*

That's strange.

Could you try to add the code:
if(is_string($mail-&gt;dst_email) &amp;&amp; strpos($mail-&gt;dst_email,',')){
$mail-&gt;dst_email = explode(',',$mail-&gt;dst_email);
}

just before the code:
if(is_array($mail-&gt;dst_email)){
$this-&gt;mailer-&gt;addRecipient($mail-&gt;dst_email);
}else{

in the file administrator/components/com_hikashop/classes/mail.php and try again ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzM2LW5vdGlmeS1tdWx0aXBsZS1lbWFpbC1hZGRyZXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[mett](/forum/user/1080-mett "View mett's Profile")**
- [![mett's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1080-mett "View mett's Profile") Topic Author
- [ Offline](/forum/user/1080-mett)

Less More

- Posts: 126
- Thank you received: 2
-
-

15 years 5 months ago [\#15791](#15791) by [mett](/forum/user/1080-mett "View mett's Profile")  Replied by *[mett](/forum/user/1080-mett "View mett's Profile")* on topic *[Re: Notify multiple email addresses](/forum/4-how-to/15736-notify-multiple-email-addresses#15791 "Hello,  Please tell me how to add multiple emails recipients? For example, i want to send new order status notification to 2 email addresses: but after press Ok i get this message:  PHPMAILER&#95;RECIPIENTS&#95;FAILED  The email addresses are correct.")*

hooray, it's working!

Thank you very much!

P.S: a CC/BCC field would be great to have it, especially for proving that an email was sent to client ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzM2LW5vdGlmeS1tdWx0aXBsZS1lbWFpbC1hZGRyZXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
