Jump to content

Change invoice recipient email


gliumio

Recommended Posts

Hello,

 

I am looking for a way to send invoice to different email address when some special condition occur.

 

This special condition is some value in custom field, and i know how to check it.

 

I have no idea how to change recipient of the email when that condition is met.

 

I was thinking about using using "EmailPreSend" hook, and then somehow to overwrite the recipient email address. One way maybe to change $client_email merge field? But i have no way to test it at the moment. Anyone know better/for sure? Or have some other ideas?

 

Thanks in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated