Jump to content

Change From Email in hook_system_emailpresend


willk

Recommended Posts

  • 1 month later...

Hi,

 

Yes I'm aware of that, however I need to change the from details based on which brand they are ordering for, different invoicing requirements etc.

 

At the moment I have it so that it filters to a different template and ceases sending the current email. However, with things like SSL configuration that ends up with blank parameters.

 

There must be some way to modify WHMCS so that a hook can change the email from and name.

 

Thanks,

Will

Link to comment
Share on other sites

currently it's not available to set external From Email/Name other than the one in setting or in email template,

also sending emails from the API: http://docs.whmcs.com/API:Send_Email doesn't add this functionality.

 

but you can override the email sending with your own functions to send customized emails, it need massive work indeed but it can be done

Link to comment
Share on other sites

  • 8 years later...

Hello there,

Any progress on this matter? Despite setting the "from" email address in the email template and exclusively sending emails via API, it appears that the system is still defaulting to the "from" email address configured in the settings. So looking for the option from hook "EmailPreSend".

 

Thank you 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.

×
×
  • 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