Sending mail with lumen | Timeout

I have required composer require illuminate/mail, .env looks fine : MAIL_DRIVER=smtp MAIL_HOST=smtp-mail.outlook.com MAIL_PORT=587 MAIL_USERNAME=******@hotmail.com MAIL_PASSWORD=***** MAIL_ENCRYPTION=tls Controller : use Illuminate\Support\Facad...
more »

2017-09-30 15:09 (0) Answers

Issue with SMTP server?

I've tried using SSL: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=******@gmail.com MAIL_PASSWORD=*************** MAIL_ENCRYPTION=ssl I've tried using TLS MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERN...
more »

2017-09-29 00:09 (1) Answers

How to route Gsuite email's through Amazon SES?

So I have my amazon SES account, my Gsuite account, and my domain DNS settings. I used Route 53 to generate my DNS stuff and used "use other name servers" and then entered my Amazon Route 53 name servers instead. I also added Gsuite MX records withi...
more »

2017-09-27 23:09 (1) Answers

Capture Bounced Email Addresses via PHP

I am currently working on a project which processes an array of data which is imported from a csv. Once the data has been processed for that specific row, it will send an email to the email address specified for that row. My client has a requirement...
more »

2017-09-26 15:09 (2) Answers

Should SMTP be used for contact forms?

I understand SMTP is often used to send mail to client addresses, because the host may be considered spam and blocked. In this case, suppose I have a website with a few contact forms, that sends an email to the administrator's email account (eg. gmai...
more »

2017-09-24 13:09 (1) Answers

Nodemailer getaddrinfo ENOTFOUND Error

Looking for some insight into this error I'm getting. on smtpTransport.sendmail(func(err, info){}) The err variable returns this: Error: getaddrinfo ENOTFOUND smtp.gmail.com smtp.gmail.com:465 at errnoException (dns.js:50:10) at ...
more »

2017-09-22 07:09 (1) Answers

Laravel Gmail Configuration Error

I have been having this issue with Laravel email with Gmail and I have checked and reviewed so many questions on Stack Overflow but none still works in my case. I am using Laravel 5.4 and Xampp. At first I thought it was my Xampp that cannot allow s...
more »

2017-09-20 11:09 (2) Answers

Script works from PC but not on server

I wrote a small python script to automatically send emails every day at 10 am. The script works fine from my Laptop running Linux Mint 18. But when I deploy the script to my server (droplet taken from DigitalOcean) running Ubuntu 16.04.3 the script g...
more »

2017-09-20 10:09 (1) Answers

Set reminder while sending email using C#

I have a requirement to set reminder while sending an email to recipients using C#. I checked various posts and based on that I used the below code snippet to achieve the requirement. DateTime dueDate = DateTime.Now.AddDays(4); var mailMessage = new...
more »

2017-09-17 09:09 (0) Answers

SMTP - adding headers

I am trying to create an application in which I can reply to emails. I am using the smtp library to send the emails. What I am trying to achieve is creating an email tread. I am trying to do this by setting the "Reference" header before sending the e...
more »

2017-09-15 11:09 (1) Answers

Add UTF8 collation to mail php?

I successfully can send email from my smtp but i can't add the utf8 collation. This is my SendMail function: function SendMail () { if ($SMTPIN = fsockopen ($this->SmtpServer, $this->PortSMTP)) { fputs ($SMTPIN, "EHLO ".$HT...
more »

2017-09-14 11:09 (0) Answers

How do I send an email from Rails using Gmail?

I'm using Rails 5 and trying to send out some emails from my dev machine using Gmail as a relay. I have this mailer file, app/mailers/user_notifier.rb class UserNotifier < ActionMailer::Base default from: RAILS_FROM_EMAIL # send notificatio...
more »

2017-09-13 17:09 (1) Answers

Allow less secure apps: ON, Still the Error?

I am trying to use my gmail account from my web application, for that I have turned on "Allow less secure apps: ON", but still I get this error "The SMTP server requires a secure connection or the client was not authenticated. The server response was...
more »

2017-09-11 20:09 (0) Answers

Smtp Auth Login

I'm trying to send an email via SMTP using telnet. I have to authenticate (I'm interested now in AUTH LOGIN method). Here is output: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 localhost ESMTP service ready ehlo localho...
more »

2017-09-11 12:09 (0) Answers

Connection refused Error cakephp

I can't send an email through a website that is that is hosted, on localhost it works normally, but since it was hosted it doesn't. I made the hosting by the godaddy. email.php: class EmailConfig { public $smtp = array( 'transport' => 'Smtp', 'f...
more »

2017-09-10 22:09 (0) Answers