Shaun Posted October 10, 2008 Share Posted October 10, 2008 Purpose Quick mod that will open an email in you default email handler with all your affiliates bcc'd. Installation Unzip the attached zip to /modules/admin/ Then goto your admin modules and its there ! email_affiliates.zip 0 Quote Link to comment Share on other sites More sharing options...
LemonBarley Posted October 10, 2008 Share Posted October 10, 2008 nice mod shaun. cheers! 0 Quote Link to comment Share on other sites More sharing options...
Stax Posted November 7, 2008 Share Posted November 7, 2008 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 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted November 7, 2008 Author Share Posted November 7, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
Alticon-Brian Posted November 11, 2008 Share Posted November 11, 2008 fantastic job, i'm looking forward to this. 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted November 19, 2008 Share Posted November 19, 2008 another fine mod there shaun 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted November 19, 2008 Author Share Posted November 19, 2008 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">' ?> 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted November 19, 2008 Share Posted November 19, 2008 Ace, very handy 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted November 19, 2008 Share Posted November 19, 2008 good one there shaun looking forward to see how it works 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted November 20, 2008 Author Share Posted November 20, 2008 Can people give some ideas of other mass emails that they want. Once was datacenter/noc what else have we got. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted November 21, 2008 Share Posted November 21, 2008 while($row = mysql_fetch_assoc($result)){ echo "<input type=\"hidden\" name=\"selectedclients[]\" value=\"".$row['id']."\">"; if it gave you a list of them and allowed selection/deselection within the list before going to teh mass mail function it would be *really* good 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.