Welcome Guest, Not a member yet? Register   Sign In
sending email using Xampp
#3

(This post was last modified: 12-29-2017, 06:48 AM by jreklund. Edit Reason: Added syntax highlight )

@arugama: Gmail are picky on how you send your new lines and you may need to enable "Unsafe applications".
https://support.google.com/accounts/answ...0255?hl=en


PHP Code:
$config = [
 
'protocol' => 'smtp',
 
'smtp_host' => 'ssl://smtp.gmail.com',
 
'smtp_port' => 465,
 
'mailtype' => 'html',
 
'smtp_user' => '',
 
'smtp_pass' => '',
 
'newline' => "\r\n",
]; 


@XtreemDeveloper: Your first example are wrong. It's port 587 and you need to set smtp_crypto to tls.
Reply


Messages In This Thread
sending email using Xampp - by arugama - 12-28-2017, 02:30 PM
RE: sending email using Xampp - by jreklund - 12-29-2017, 06:47 AM
RE: sending email using Xampp - by arugama - 12-29-2017, 07:21 AM
RE: sending email using Xampp - by jreklund - 12-29-2017, 07:47 AM
RE: sending email using Xampp - by arugama - 12-29-2017, 08:23 AM
RE: sending email using Xampp - by InsiteFX - 12-29-2017, 10:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB