• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior] Php mailer

KamCiu

New Member
Joined
Nov 11, 2008
Messages
8
Reaction score
0
How to configure php mailer in Gesior Acc 0.3.5.
I use Gmail.

config.php

Code:
// E-MAIL config
$config['site']['send_emails'] = 1; // is acc. maker configured to send e-mails?
$config['site']['mail_address'] = "[email protected]"; // e-mail address
$config['site']['smtp_enabled'] = "yes"; // send by smtp or mail function (set 0 if use mail function)
$config['site']['smtp_host'] = "smtp.gmail.com"; // address
$config['site']['smtp_port'] = 465; // port
$config['site']['smtp_auth'] = "yes"; // need authorization? (set 0 if not need auth)
$config['site']['smtp_user'] = ""; // login
$config['site']['smtp_pass'] = ""; // password

phpmailer/readme

i found:
Code:
$mail->IsSMTP();                                      // set mailer to use SMTP
$mail->Host = "smtp1.example.com;smtp2.example.com";  // specify main and backup server
$mail->SMTPAuth = true;     // turn on SMTP authentication
$mail->Username = "jswan";  // SMTP username
$mail->Password = "secret"; // SMTP password

$mail->From = "[email protected]";
$mail->FromName = "Mailer";
$mail->AddAddress("[email protected]", "Josh Adams");
$mail->AddAddress("[email protected]");                  // name is optional
$mail->AddReplyTo("[email protected]", "Information");
Przydatne skrypty na stronę web
I have to configure something here?
Help please.
 
Last edited:
Code:
// E-MAIL config
$config['site']['send_emails'] = 1; // is acc. maker configured to send e-mails?
$config['site']['mail_address'] = "[email protected]"; // e-mail address
$config['site']['smtp_enabled'] = "yes"; // send by smtp or mail function (set 0 if use mail function)
$config['site']['smtp_host'] = "smtp.gmail.com"; // address
$config['site']['smtp_port'] = 465; // port
$config['site']['smtp_auth'] = "yes"; // need authorization? (set 0 if not need auth)
$config['site']['smtp_user'] = ""; // login
$config['site']['smtp_pass'] = ""; // password

for gmail set here your login and password...
 
Ok but when i finished creating acc the session dead =x

2qjzio1.jpg


The account now is in database but email wouldnt come ^_^
 
When i set up smtp host to: ssl://smtp.gmail.com:465
then:
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in F:\xampp\htdocs\phpmailer\class.smtp.php on line 105
 
Anyway its doesnt work:
Warning: PHPMailer::include_once(class.smtp.php) [function.PHPMailer-include-once]: failed to open stream: No such file or directory in /www/110mb.com/m/o/d/e/r/n/a/m/modernamailer/htdocs/class.phpmailer.php on line 460

Warning: PHPMailer::include_once() [function.include]: Failed opening 'class.smtp.php' for inclusion (include_path='.:/usr/share/php') in /www/110mb.com/m/o/d/e/r/n/a/m/modernamailer/htdocs/class.phpmailer.php on line 460

Fatal error: Class 'SMTP' not found in /www/110mb.com/m/o/d/e/r/n/a/m/modernamailer/htdocs/class.phpmailer.php on line 527
Jak samemu rozsyłać mailing
If you want to turn on SMTP (fsockopen) u have to pay.
 
Last edited:
Back
Top