Jump to content

[Admin Mod]: Email Affiliates


Shaun

Recommended Posts

  • 4 weeks later...

Just thinking...

 

it would be an awesome update if instead of opening a mail in your default mail program...it opened it in the whmcs/admin/sendmessage.php ... that way you can save this email to each of your clients info for future reference like all other emails sent by whmcs

Link to comment
Share on other sites

Just thinking...

 

it would be an awesome update if instead of opening a mail in your default mail program...it opened it in the whmcs/admin/sendmessage.php ... that way you can save this email to each of your clients info for future reference like all other emails sent by whmcs

 

I just realised that the other day.

Im going to make this update to it soon.

Link to comment
Share on other sites

  • 2 weeks later...

This has been updated to use the mass mail feature of whmcs.

So now you can have all the features that apply to it.

 

Installation:

Create the file :

/whmcs/modules/admin/email_affiliates/email_affiliates.php

Insert this code:

<?php
/*
* Admin Mod to open a new email in your default email handler
* Author: Shaun Deans - Kadeo Pty Ltd
* WWW: http://www.kadeo.com.au
*/

# Set the admin level required to access the addon - 1 for support, 2 for sales & 3 for full admin
$adminlevel = "1";

echo "<form method=\"post\" action=\"sendmessage.php?type=general&multiple=true\" name=\"clForm\" >";
$result = mysql_query("SELECT id FROM `tblclients` WHERE id in (select clientid from tblaffiliates)");
while($row = mysql_fetch_assoc($result)){
echo "<input type=\"hidden\" name=\"selectedclients[]\" value=\"".$row['id']."\">";
}
echo '<input type="submit" value="Send Message" class="button">'
?>

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