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

#   Mailtocustomfield - Forwarding Gift Card Coupon

##

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#214926](#214926) by [Nello](/forum/user/1361-nello "View Nello's Profile")  *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214926 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")* was created by *[Nello](/forum/user/1361-nello "View Nello's Profile")*

-- HikaShop version -- : 2.5.0
-- HikaSerial version -- : 1.9.1
-- Joomla version -- : 3.4.3

Hi,

I configured my first Gift Card using Hikaserial, and I am satisfied because all works well ![:)](/media/kunena/emoticons/3.png ":)")
But I tried to configure also the plugin Mailtocustomfield and it doesn't work.

First, I set a custom field, as in the first image.
[ ![first.jpg](/forum/attachment/26601) ](/forum/attachment/26601 "first.jpg")

So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.
[ ![second.jpg](/forum/attachment/26602) ](/forum/attachment/26602 "second.jpg")

Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.

- [ ![first.jpg](/forum/attachment/26601) ](/forum/attachment/26601 "first.jpg") [ ](/forum/attachment/26601?download=1 "first.jpg")
- [ ![second.jpg](/forum/attachment/26602) ](/forum/attachment/26602 "second.jpg") [ ](/forum/attachment/26602?download=1 "second.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc5NDA5LW1haWx0b2N1c3RvbWZpZWxkLWZvcndhcmRpbmctZ2lmdC1jYXJkLWNvdXBvbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#214952](#214952) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214952 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Hi,

It is working good during my tests ; so I think that the best is that I check directly the issue in your website.
Would it be possible to have a backend access (and maybe an FTP access in order to put some traces).
You can use the "contact us" form to send us such private information (with a link to that thread so the support team will know what do to with the credentials).

Regards,

---

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

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#214961](#214961) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214961 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Sure!

Already sent!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc5NDA5LW1haWx0b2N1c3RvbWZpZWxkLWZvcndhcmRpbmctZ2lmdC1jYXJkLWNvdXBvbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#214971](#214971) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214971 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Hi,

Thanks for the access.
Can I upload a special version of the plugin "Mailtocustomfield" ?
Can I use the order "HD00064/2015" for tests and should I use a specific test order ?
I'll need to change the value of the custom field in order to send the emails to me (or not spam your box).

Regards,

---

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

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago -  11 years 1 month ago [\#214984](#214984) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214984 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Sure Jerome, you can do all that is necessary. Use the order "HD00064/2015 or create other orders. Never mind. The website is not yet published. ![;)](/media/kunena/emoticons/24.png ";)")

Last edit: 11 years 1 month ago by [Nello](/forum/user/1361-nello "View Nello's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc5NDA5LW1haWx0b2N1c3RvbWZpZWxkLWZvcndhcmRpbmctZ2lmdC1jYXJkLWNvdXBvbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#214990](#214990) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214990 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Hi,

It looks like your website does not allow to send an email while another email is in preparation.
The plugin got the result error "Could not instantiate mail function."
But we know that your server can instantiate the mail function because the order mail is sent ; that's why I think there is some kind of multi-email conflict (conflict that I don't have in my local server).

I suppose that we should add a new trigger in HikaShop, which will be "onAfterMailSend" in order to let plugins like "mailtocustomfield" to send extra email.
But I am not sure that it is the right and best solution.
Would it be possible to have an FTP access in order to put some debug directly in PHPMail (understand why the mail failed) and see if the addition of a new trigger fix the issue ?

Regards,

---

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

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#214996](#214996) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#214996 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Sent!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc5NDA5LW1haWx0b2N1c3RvbWZpZWxkLWZvcndhcmRpbmctZ2lmdC1jYXJkLWNvdXBvbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#215017](#215017) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#215017 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Hi,

You should have received the two emails, the first one for the order confirmation and the second one for the "mail to custom field" plugin.
The patch will be include in the next HikaSerial release so you will be able to update without any issue.

Regards,

---

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

The following user(s) said Thank You: [Nello](/forum/user/1361-nello "View Nello's Profile")

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#215049](#215049) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Mailtocustomfield - Forwarding Gift Card Coupon](/forum/17-serial-how-to/879409-mailtocustomfield-forwarding-gift-card-coupon#215049 "-- HikaShop version -- : 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3  Hi,  I configured my first Gift Card using Hikaserial, and I am satisfied because all works well :) But I tried to configure also the plugin Mailtocustomfield and it doesn't work.  First, I set a custom field, as in the first image.  So a customer have the possibility to write an email to forwarding the gift card. I set the Mailtocustomfield, as in the second image.  Purchasing the Gift Card I receive it correctly with the coupon assigned, but no email is forwarded to the email address indicated during the checkout process.")*

Yes I received both emails.

Thank you so much!
You and all hikashop team are great as always. ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc5NDA5LW1haWx0b2N1c3RvbWZpZWxkLWZvcndhcmRpbmctZ2lmdC1jYXJkLWNvdXBvbj90bXBsPW1hcmtkb3du) 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.074 seconds

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