cant send email with this provider


My email code for cakephp worked fine when I used gmail but not for this provider below.
I am not sure what to do as I have all the correct information.
The error get is timed-out

	public $gmail2 = array(
	'from' => array('' => 'Aptutoring'),	    
	'host' => '',
       // 'port' => 2525,
         'port' => 465,    
       'username' => '',
        'password' => 'XXX',
        'transport' => 'Smtp'
	  $Email = new CakeEmail();
                             $Email->from( array('' => 'Aptutoring'));

Open in new window

Who is Participating?
KimputerConnect With a Mentor Commented:
Seems you use conflicting settings. Host suggest it isn't SSL (otherwise it should be prefixed with ssl://), but you use an SSL port nonetheless (465).
Please find out first if you want SSL or not, then fix it.
If yes, add ssl://, if no, change port to 25
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.