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

#   Emails are sent to the wrong person

##

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

Less More

- Posts: 145
- Thank you received: 0
-
-

13 years 4 weeks ago [\#128257](#128257) by [southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")  *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128257 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")* was created by *[southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")*

-- url of the page with the problem -- : [ the-authors-club.com](http://the-authors-club.com)
-- HikaShop version -- : Latest
-- Joomla version -- : 3.1.5
-- PHP version -- :
-- Browser(s) name and version -- : Internet Explorer 9
-- Error-message(debug-mod must be tuned on) -- : None

Hi.

I have a few questions about emails.
1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email?
2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 4 weeks ago [\#128259](#128259) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128259 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Hi,

Right.
There is a fix in the next version for this.

Please edit the file "administrator/components/com_hikamarket/classes/mail.php" and replace Code:

$vendorClass = hikamarket::get('class.vendor'); $vendor = $vendorClass-&gt;get($vendor_id); $mail-&gt;dst_email = $vendor-&gt;vendor_email; $mail-&gt;dst_name = $vendor-&gt;vendor_name;

By: Code:

$vendorClass = hikamarket::get('class.vendor'); $vendor = $vendorClass-&gt;get($vendor_id); unset($mail-&gt;dst_email); $mail-&gt;dst_email = $vendor-&gt;vendor_email; unset($mail-&gt;dst_name); $mail-&gt;dst_name = $vendor-&gt;vendor_name;

It should fix the problems.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 145
- Thank you received: 0
-
-

13 years 4 weeks ago [\#128272](#128272) by [southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")  Replied by *[southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128272 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Okay, thanks.

But why are vendors getting emails when a customer orders his products? Those emails should go to the customers instead.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 4 weeks ago [\#128274](#128274) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128274 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Hi,

The vendors receive an order notification.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 145
- Thank you received: 0
-
-

13 years 4 weeks ago [\#128310](#128310) by [southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")  Replied by *[southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128310 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Okay, but the email is addressed to the customer, not the vendor whose product was ordered. Is it a copy of the order that's sent to the customer?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 4 weeks ago [\#128318](#128318) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128318 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Hi,

I don't understand what you are trying to explain.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 145
- Thank you received: 0
-
-

13 years 4 weeks ago [\#128353](#128353) by [southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")  Replied by *[southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128353 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Hi,

When a customer places an order for a book, he should receive a notification about his order status.

Yesterday one of my vendors received a notification about an order that was intended for the customer who placed that order. They're not the same person. That email should have been sent to my customer, not the vendor. I'm asking why did my vendor receive the customer's email?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 3 weeks ago [\#128415](#128415) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128415 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

Hi,

Did you applied the patch that I gave you yesterday ?
HikaMarket just override the admin mails to send a copy to the vendors (and the mail with only their products).
Their was a problem that is already fixed for the next release : this fix was written just before in this thread.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 145
- Thank you received: 0
-
-

13 years 3 weeks ago [\#128421](#128421) by [southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")  Replied by *[southga1974](/forum/user/22661-southga1974 "View southga1974's Profile")* on topic *[Emails are sent to the wrong person](/forum/23-market-how-to/862881-emails-are-sent-to-the-wrong-person#128421 "-- url of the page with the problem -- :   the-authors-club.com  -- HikaShop version -- : Latest -- Joomla version -- : 3.1.5 -- PHP version -- : -- Browser(s) name and version -- : Internet Explorer 9 -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a few questions about emails. 1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email? 2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.  Thanks.")*

I bought a product to test it, and received the customer email, so that does work like it should.
Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODYyODgxLWVtYWlscy1hcmUtc2VudC10by10aGUtd3JvbmctcGVyc29uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.092 seconds

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