|
TheRaskol
70 posts |
#358 2013-09-19 08:58 GMT | |
|
merhaba
t3postman kullanıyorum. aktivasyon mail'i gitmiyor. contact plugin'den mail attığımda mesaj gönderildi diyor ama mail gelmiyor. kullandığım function aşağıdaki gibidir Kod: 0 [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(FALS }[/code]
|