| 1 : What is the T3 PostMan plugin ? |
| T3 PostMan is a complete pm/email suite for seditio framework. Features: -- Mass PM / Email Users. -- Number of messages to send at once. -- Advance criteria form based on users profiles. -- Include user information in messages (user id, name, email, activation link) -- Integrated PHPMailer 1.73 ---- SMTP authentication (including SSL). ---- PHP SendMail ---- HTML emails. |
| Created: Monday 26th of March 2007 04:35 PM Submitted by: Tefra |
| 2 : What's new ? |
| Version 1.00 ------------ First stable release |
| Created: Monday 26th of March 2007 04:36 PM Submitted by: Tefra |
| 3 : How to install ? |
| 1. Unpack and upload the files into the folder : /plugins/postman/ 2. Go into the administration panel, then the tab "Plugins", click the name of the new plugin, and at bottom of the plugin properties, select "Install all". 3. Make sure you edit the settings of the plugin to fit your needs. 4. Access the plugin from the Admin cp-->Tools-->T3 PostMan, admin.php?m=tools&p=postman. |
| Created: Monday 26th of March 2007 04:38 PM Submitted by: Tefra |
| 4 : Some Notes. |
| - bbcodes will work only if you are send private messages. - When you are sending emails type pure html code or just text. - All the pm/email site counters are updated upon success. - Use the var {activatelink} only to resend the activation link to the inactive users. - The from field is used for the pm sender and the email from name attribute. - Users can't reply directly to the mass pm for many reasons. - The test mode could be also used as an advance user search. (ex find all users with gmail email) - Don't use this plug to spam your users, eventually they will hate you. - Using SMTP servers without authentication is not cool, eventually your mail server will be banned. - You can use SSL SMTP servers like gmail. ex ssl://smtp.gmail.com - If you have disabled the SMTP option the script will use the PHP native mail function. - Having 500 messages to send at once could kill a very small server. Use a small option like 30-50. - Check also the PHPMailer Faq. |
| Created: Tuesday 27th of March 2007 12:37 AM Submitted by: Tefra |
| 5 : How can i use SMTP emails with Seditio? |
| Currently Seditio doesn't support smtp at all. If you have installed T3 PostMan
you could apply a very small and easy core hack to use SMTP or the
advance mail options of PHPMailer. This core hack is suggested even if
you use the native PHP Mail function because of the advance PHPMailer
mail headers. Open system/functions.php find this function PHP Code: function sed_mail($fmail, $subject, $body, $headers='') { global $cfg; if(empty($fmail)) { return(FALSE); } else { $headers = (empty($headers)) ? "From: \"".$cfg['maintitle']."\" <".$cfg['adminemail'].">\n"."Reply-To: <".$cfg['adminemail'].">\n"."Content-Type: text/plain; charset=".$cfg['charset']."\n" : $headers; $body .= "\n\n".$cfg['maintitle']." - ".$cfg['mainurl']."\n".$cfg['subtitle']; mail($fmail, $subject, $body, $headers); sed_stat_inc('totalmailsent'); return(TRUE); } } replace it with this PHP Code: function sed_mail($fmail, $subject, $body, $headers='') { global $cfg; if(empty($fmail)) return(FALSE); require("plugins/postman/inc/postoffice.class.php"); $PostMan = new PostOffice(); $PostMan->IsHTML(false); $PostMan->FromName = $cfg['maintitle']; $PostMan->Subject = $psoptions['subject']; $PostMan->AddAddress($fmail); $PostMan->Subject = $subject; $PostMan->Body = $body; $res['email'] = $PostMan->Send(); $res['error_info'] = $PostMan->ErrorInfo; $PostMan->ClearAddresses(); if($res['email']) { sed_stat_inc('totalmailsent'); return(TRUE); } else { return(FALSE); } } |
| Created: Monday 26th of March 2007 05:07 PM Submitted by: Tefra |