Welcome Guest, Not a member yet? Register   Sign In
email sending fail with DX Auth library
#1

[eluser]ranjitbd[/eluser]
Code:
// as per the user guide of DX Auth library
// application/config/email.php
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['protocol'] = 'smtp';
$config['smtp_host'] = 'mail.localhost.com';
$config['smtp_user'] = 'username';
$config['smtp_pass'] = 'password';
$config['smtp_port'] = '25';
?>

// what will be the value for $config['smtp_user'], $config['smtp_pass']
// which user name  and password i shall use??????????????
// please help
#2

[eluser]Sarfaraz Momin[/eluser]
if you are using PHP, I would recommend using PHP Mail service.

Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['protocol'] = 'mail';
?>

If for some reason you still want to use SMTP. You need to setup SMTP on you Server and have correct authentication information about it or in case it accepts anonymous then you can use anonymous username with your email as the password but the SMTP will have to be setup the way you want to use it.

Let me know if it makes sense else I will try to get you some example but I am not sure since the SMTP email sending can be a server issue as well.

-Sarfaraz
#3

[eluser]Joey Beltran[/eluser]
Read the solution from this link --> http://ellislab.com/forums/viewthread/113008/ Smile




Theme © iAndrew 2016 - Forum software by © MyBB