php - CakePHP CakeMail sending email to a TLS Microsoft Exchange Server 2010 (Hosted Exchange in Godaddy) -
I am trying several configurations options to send email to a Microsoft Exchange 2010 server using KPHP (kkm) . This is my current configuration:
public $ default = array ('transport' = & gt; 'smtp', 'from' = & gt; array ('email@example.com '= & Gt; 'me'), 'host' = & gt; 'smtp.ex3.secureserver.net', 'port' => 587, 'timeout' => 30, 'username' = & gt; ; 'VerifiedUserName', 'password' = & gt; 'verified password', 'customer' =>, tap 'log' = & gt; true, 'distribution' = & gt; 'smtp'); And this is my test function:
public function uses test_email () {app :: (('kakemail', 'network / email '); $ Email = new kemmail (); $ Email- & gt; Config ('default'); Debug ($ email- & gt; config ()); From $ (= 'email- & gt; Template (' checkout ') - & gt; (' email@example.com ') - -> Email format (' text ') -> (' another @ example. Com ') - & Gt; Subject (' Test EMAIL ') - & gt; Send ();} Getting me one
SMTP Error: 504 5.7.4 Unrecognized authentication type If I host the host 'ssl: //smtp.ex3.secureserver.net' or 'tls: //smtp.ex3.secureserver.net Unable to connect to the >> SMTP server
server configured to use TLS
Any ideas?
(from book)
2.3.0 You can also enable TLS SMTP using the TLS option:
& lt; php class emailConfig {public $ gmail = array ('host '= & Gt;' smtp.gmail.com ',' port '=> 465,' username '= & gt;' my@gmail.com ',' password '= & gt;' secret ',' Transport '= & gt;' smtp ',' tls' = & gt; truth); } Here the ref & gt;
Comments
Post a Comment