Welcome Guest, Not a member yet? Register   Sign In
Emails sent to Hotmail are vanishing
#11

I tried sending emails with Gmail as smtp, but I get this error:
Code:
The following SMTP error was encountered: 145 Connection timed out
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

My config/email.php file looks like this:
PHP Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.googlemail.com';
$config['smtp_port'] = 465;
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'my_password';
$config['mailtype' 'html'
$config['charset'  'iso-8859-1';
$config['wordwrap' TRUE
Reply
Reply
#13

(12-28-2017, 04:15 PM)simon Wrote: First is to check the 'spammyness' of my emails with https://www.mail-tester.com
It gives your message/server a score out of 10, but breaks down the reason for that. I was getting below 3 on my message/server combination, but am now usually 9 or above.

My score is 8.6
Reply
#14

(12-29-2017, 05:03 AM)Paradinight Wrote: @Wouter60

https://mxtoolbox.com/spf.aspx

and

https://mxtoolbox.com/blacklists.aspx

My domain isn't on any blacklist.
But in the toolbox, the mail server gives 1 error: DNS not found. Could that be the problem?
Reply
#15

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

@Wouter60: You may need to enable "Unsafe applications" and change your config.
Gmail are picky on how you send your new lines.

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",
]; 
Reply
#16

(12-29-2017, 06:19 AM)Wouter60 Wrote:
(12-29-2017, 05:03 AM)Paradinight Wrote: @Wouter60

https://mxtoolbox.com/spf.aspx

and

https://mxtoolbox.com/blacklists.aspx

My domain isn't on any blacklist.
But in the toolbox, the mail server gives 1 error: DNS not found. Could that be the problem?

fix the error and check again.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB