cant send email with this provider
Hi, 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 [code] config/email.php public $gmail2 = array( 'from' = array('x...@xx.com.au' = 'Aptutoring'), 'host' = 'mail.ecentriconline.net', // 'port' = 2525, 'port' = 465, 'username' = 'x...@ecentriconline.net', 'password' = 'XXX', 'transport' = 'Smtp' ); $Email = new CakeEmail(); $Email-config('gmail2'); $to=$item['Tutor']['email']; $Email-from( array('x...@xx.com.au' = 'Aptutoring')); $Email-to($to); $Email-subject('Hello'); $Email-send($message); [/code] -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
cant send email with this provider
Hi, 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 [code] config/email.php public $gmail2 = array( 'from' = array('i...@aptutoring.com.au' = 'Aptutoring'), 'host' = 'mail.ecentriconline.net', // 'port' = 2525, 'port' = 465, 'username' = 'x...@ecentriconline.net', 'password' = 'XXX', 'transport' = 'Smtp' ); $Email = new CakeEmail(); $Email-config('gmail2'); $to=$item['Tutor']['email']; $Email-from( array('i...@aptutoring.com.au' = 'Aptutoring')); $Email-to($to); $Email-subject('Hello'); $Email-send($message); [/code] -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: cant send email with this provider
Please ensure that you are using the settings that applies to your mail provider. Enjoy, John On Monday, 26 January 2015 16:01:46 UTC+2, ajt wrote: Hi, 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 [code] config/email.php public $gmail2 = array( 'from' = array('x...@xx.com.au' = 'Aptutoring'), 'host' = 'mail.ecentriconline.net', // 'port' = 2525, 'port' = 465, 'username' = 'x...@ecentriconline.net', 'password' = 'XXX', 'transport' = 'Smtp' ); $Email = new CakeEmail(); $Email-config('gmail2'); $to=$item['Tutor']['email']; $Email-from( array('x...@xx.com.au' = 'Aptutoring')); $Email-to($to); $Email-subject('Hello'); $Email-send($message); [/code] -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.