Category : smtp

I have a domain and i created a email with the cpanel of that serve. now when i try to use it it shows me Connection could not be established with host [email protected] :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known My code -> MAIL_MAILER=smtp [email protected] MAIL_PORT=465 [email protected] MAIL_PASSWORD={mypassword} MAIL_ENCRYPTION=ssl [email protected] MAIL_FROM_NAME=”${APP_NAME}” Sourc..

Read more

I am trying to send a outlook email with my Microsoft account in laravel. But I am getting the error below: Swift_TransportException Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [xxxxxx.xxxxx.PROD.OUTLOOK.COM] ". Authenticator ..

Read more

Laravel 7.30+ Until a few days ago I was using only one smtp server, all good… But now I have to "rotate" the SMTP server since now I have 4 new server only for SMTP, wyhy dont I use mailing queue and some other server like AWS?… well, the current server has lots of power ..

Read more

I am using a local SMTP server in my Laravel Application and I am getting an error saying Swift_TransportException: Expected response code 220 but got code "500", with message "500 5.3.3 Unrecognized command ‘STARTTLS’ " in C:xampphtdocsMy_Hr_Request_FlowvendorswiftmailerswiftmailerlibclassesSwiftTransportAbstractSmtpTransport.php:459 Stack trace: #0 C:xampphtdocsMy_Hr_Request_FlowvendorswiftmailerswiftmailerlibclassesSwiftTransportAbstractSmtpTransport.php(344): Swift_Transport_AbstractSmtpTransport->assertResponseCode(‘500 5.3.3 Unrec…’, Array) #1 C:xampphtdocsMy_Hr_Request_FlowvendorswiftmailerswiftmailerlibclassesSwiftTransportEsmtpTransport.php(305): Swift_Transport_AbstractSmtpTransport->executeCommand(‘STARTTLSrn’, Array, Array, false, NULL) #2 C:xampphtdocsMy_Hr_Request_FlowvendorswiftmailerswiftmailerlibclassesSwiftTransportEsmtpTransport.php(346): Swift_Transport_EsmtpTransport->executeCommand(‘STARTTLSrn’, ..

Read more

hi i use laravel mail for Newsletter it works but it takes a long time (more than 1 minutes) to send for more than 3 emails what should i do ? i use this code in article controller that when the status is active laravel send content of that article via email if($request->status == "active"){ ..

Read more

I have getting Swift_RfcComplianceException error while sending the mail My code is like Mail::send([],[], function ($message) use ($fromName,$fromEmail,$subject,$data,$toEmilId){ $message->to($toEmilId) ->from($fromEmail,$fromName) ->subject($subject) ->setBody($data,’text/html’); }); And getting error is "message": "Address in mailbox given [] does not comply with RFC 2822, 3.6.2.", "exception": "Swift_RfcComplianceException", "file": "E:NaveenNayakwamp-projectssubscriptionapivendorswiftmailerswiftmailerlibclassesSwiftMimeHeadersMailboxHeader.php", "line": 355, I have cleared php artisan cache:clear,php artisan config:clear, and ..

Read more

Horizon Version: 4.3.5 Laravel Version: 7.0 PHP Version: 7.3 Redis Driver & Version: predis/phpredis 1.1 Description: Hi, I am using Laravel Horizon package for sent mails to many users. (SMTP gmail) I sent around 300 mails. In Config/horizon.php ‘local’ => [ ‘supervisor-1’ => [ ‘connection’ => ‘redis’, ‘queue’ => [‘default’], ‘balance’ => ‘auto’, ‘processes’ => ..

Read more

Is there somebody who can tell me how to test email on localhost with Laravel 7? I have Smtp4Dev server running which should catch communication on the specified port. I choose port 25. My Laravel 7 mail setting are here: .env MAIL_MAILER=smtp MAIL_HOST=xxxxxxxxxx.contaboserver.net MAIL_PORT=25 MAIL_USERNAME="[email protected]" MAIL_PASSWORD="xxxxxxxxx" MAIL_ENCRYPTION= MAIL_FROM_ADDRESS="[email protected]" MAIL_FROM_NAME="${APP_NAME}" config/mail.php ‘smtp’ => [ ‘transport’ => ..

Read more

I am trying to connect private email with my Laravel project. .env configuration below MAIL_DRIVER=smtp MAIL_HOST=mail.privateemail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=myPrivateEmailPassword MAIL_ENCRYPTION=tls [email protected] MAIL_FROM_NAME=MyCustomName After this , I run this three command, php artisan config:clear php artisan config:cache php artisan queue:restart I have too many EmailJob files to send emails. That’s why I used the last command. ..

Read more

Laravel keeps throwing an error that AppMailVerifyMail does not exit but that file exists in AppMail folder. I don’t know why it keeps telling me that it does not exist when it clear does; <?php namespace AppHttpControllersAuth; use AppHttpControllersController; use IlluminateHttpRequest; use IlluminateSupportFacadesHash; use AppUser; use AppMailVerifyMail; use AppVerifyUser; use IlluminateSupportStr; use IlluminateSupportFacadesMail; use IlluminateSupportCarbon; ..

Read more

I’m trying to send mails from my webserver using Laravel 6 like this: Mail::send(‘feedback’, [’email’ => $email, ‘text’ => $text], function($message) use ($receiver) { $message->to($receiver, ‘The receiver’)->subject(‘New Feedback’); }); I added my login information into my .env file according to this page from google: https://support.google.com/mail/answer/7126229?hl=de my .env file: MAIL_DRIVER=sendmail MAIL_HOST=smtp.gmail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=my_gmail_login_password MAIL_ENCRYPTION=tls but ..

Read more

I’m trying to send mails from my webserver using Laravel 6 like this: Mail::send(‘feedback’, [’email’ => $email, ‘text’ => $text], function($message) use ($receiver) { $message->to($receiver, ‘The receiver’)->subject(‘New Feedback’); }); I added my login information into my .env file according to this page from google: https://support.google.com/mail/answer/7126229?hl=de my .env file: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=my_gmail_login_password MAIL_ENCRYPTION=tls but ..

Read more