2009-06-15, 01:42 AM
There seem to be a number of posts about this plug-in in both the general and plug-in forums, so I took a chance and put it here. Please move it if necessary. Sorry.
I am having issues with this plug-in. I receive PHP mail from the system and receive SMTP mail from the system, but =not= with this plug-in.
Looks like this line
$db->insert_query("maillogs", $log_entry);
from the mailoa_start() function is supposed to insert a row into the maillogs table, but when I check the table, there isn't one there. I've deactivate and activated the function with no luck. I get the same behavior from this plug-in whether I've configured the system for SMTP or PHP - and I receive both types with no issues normally.
Any ideas anyone?
I found the answer. Seems the hook wasn't there in the delivered code.
I found this in the Reviews for the plug-in:
After adding this hook, it works fine and I've validated that the emails are being inserted into the table.
Thanks to ZAKKINEN for posting the additional hook. I've posted it here so if anyone else has this problem, it will come up in a search.
I am having issues with this plug-in. I receive PHP mail from the system and receive SMTP mail from the system, but =not= with this plug-in.
Looks like this line
$db->insert_query("maillogs", $log_entry);
from the mailoa_start() function is supposed to insert a row into the maillogs table, but when I check the table, there isn't one there. I've deactivate and activated the function with no luck. I get the same behavior from this plug-in whether I've configured the system for SMTP or PHP - and I receive both types with no issues normally.
Any ideas anyone?
I found the answer. Seems the hook wasn't there in the delivered code.
I found this in the Reviews for the plug-in:
Quote:Works like a charm. And it even does so with email based self-activation, if you add a line like
Code:$plugins->add_hook("member_activate_accountactivated", "mailoa_start");
After adding this hook, it works fine and I've validated that the emails are being inserted into the table.
Thanks to ZAKKINEN for posting the additional hook. I've posted it here so if anyone else has this problem, it will come up in a search.