I'm trying to work on an ASSP Toolbar plugin that replicates the ASSP toolbar for Outlook.
ASSP provides an email interface for reporting spam, not spam, add whitelist and add blacklist. The ASSP toolbar for outlook provides configurable buttons, so that you can select email(s), then press the button and have them automatically forwarded to the preset ASSP interface email addresses.
I've never worked with PHP but i've been reverse engineering several of the available plugins and have been able to add a button, place it in the interface and configure events and hooks.
the point i'm stuck at now is having the button actually send an email. I've been looking at all the documentation (
RoundCube Classes) and the wiki and for the live of me, i can't figure out what i need to do.
write_log('errors', 'Report Spam button was pushed');
$sent = $rcmail::smtp_mail('
','','','This is a test',$smtp_response, $smtp_errors);
[09-Nov-2009 21:59:05] PHP Fatal error: Class name must be a valid object or a string in C:\data\wwwroot\webmailtest\plugins\assp_reporting\assp_reporting.php on line 46
/btw, i should say that i'm a hardware geek by trade and a software hack by hobby. delphi, vb6, vb.net, c#.