Jump to content

How to send emails from WHMCS to a foreign email address?


Recommended Posts

I need to send an email message to my customer and, in cc, to a couple of different foreign email addresses.

But it seems to be impossible...
 

The API SendEmail command ( https://developers.whmcs.com/api-reference/sendemail ) allows you to specify just the user ID, and send te message to the email address of that user ID... but does not allow tospecify any CC or CCN address (note. this is possible when you send a message from the WHMCS admin web interface, so it's not a limit of the system but just of the API function).

I tried using  the PreEmailSendReduceRecipients hook, but it allows just to remove a predefined CC recipient, not to add a new one or redefiny an existing one...

Any ideaabout how to do it?

 

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