jfreak53 Posted January 22, 2015 Share Posted January 22, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted January 22, 2015 Share Posted January 22, 2015 i believe this is not possible using sendEmail, sendAdminEmail APIs, you may create your own function using PHPMailer and SMTP info from DB to send emails to whatever email address you want to. if you need help with it, just ask 0 Quote Link to comment Share on other sites More sharing options...
jfreak53 Posted January 23, 2015 Author Share Posted January 23, 2015 Eww, that's an idea, I never thought about that. I've used PHPMailer before, but what is the class in WHMCS that I am using to create a new PHPMailer object? 0 Quote Link to comment Share on other sites More sharing options...
webpoint Posted May 22, 2015 Share Posted May 22, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 22, 2015 Share Posted May 22, 2015 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.