Jump to content

Send Emails from Modules


jfreak53

Recommended Posts

I'm looking for a way to send an email using the internal email system of WHMCS but to outside email addresses from a module. I have looked at the API calls:

Send Email

Send Admin Email

 

But those do not allow me to specify to what email address I want to send to. I am not sending to an admin or to a customer. This is a custom internal module for sending support to our DC techs, hence there is no admin user.

 

So I need to specify the to email and preferably the from email.

Link to comment
Share on other sites

  • 3 months later...
Hi sentq,

 

We have a similar issue. Can you please take a look at it here:

http://forum.whmcs.com/showthread.php?101099-Modifying-payment-calback-php-script-to-send-notification-mails

 

We would like to use phpmailer because the sendadminemail function don`t deliver every time mails, and it have delay of minutes.

i looked at your thread, you can't send messages to external email addresses, as i suggested before in this thread you need to create your own function using PHPmailer (included by default in all WHMCS versions) WHMCS use it to send emails out

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