Category : email

I keep getting this error when trying to send e-mail with Gsuite, i have less secure aps on and know that the settings are correct, it just studently started doing this. "Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL context creation failure" I have also tried to make a wrong username and password, ..

Is there any package which can help to get Address Book of organization for Laravel? I want to use it for mailing – want to get with AJAX while writing it in input. Sourc..

i get below error when trying to create RESET PASSWORD feature. this is my .env : MAIL_MAILER=smtp MAIL_HOST=eoptronic.com MAIL_PORT=465 [email protected] MAIL_PASSWORD="******" MAIL_ENCRYPTION=ssl [email protected] MAIL_FROM_NAME="${APP_NAME}" i also did adding this code in config/mail.php : ‘stream’ => [ ‘ssl’ => [ ‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true, ], ], ‘from’ => [ ‘address’ => .. Read more I have the following data : array:2 [ 0 => array:2 [ 0 => "[email protected]" 1 => "[email protected]" ] 1 => array:1 [ 0 => "[email protected]" ] ] And have the following data in my database : +—————-+———————————————————–+ | id_filiale | adm_emails | +—————-+———————————————————–+ |1 | ["[email protected]","[email protected]"] | |2 | ["[email protected]"] | +—————————————————————————-+ So I .. Read more I am new to laravel and worked through the laravel mailable doc which ended me with a mailable that looks like this: ContactMail.php: <?php namespace AppMail; use httpEnvRequest; use IlluminateBusQueueable; use IlluminateContractsQueueShouldQueue; use IlluminateMailMailable; use IlluminateQueueSerializesModels; class ContactMail extends Mailable implements ShouldQueue { use Queueable, SerializesModels; public function __construct() { // } public function build() .. Read more I am trying to send contact form information from a Vue 3 component to my email address with Laravel 8. The first step is to validate the request (which works) and then it shall be sent to an email address. There seem to be many different approaches for this, which I find a bit confusing. .. Read more I have deployed a Laravel based API to DigitalOcean, configured in .env file to use Mailtrap.io (just as in my local machine). I’m trying to send out a Notification but it fails on DO while it works on my local machine. I tried opening port 465 in ufw, checked laravel.log (and is empty), checked apache .. Read more Recently I have been working on a laravel project that has functionality of sending email through smtp of gmail. So far so good with local development server but the problem arises with production server. Error: Swift_TransportException Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused) Note: I am .. Read more I’m doing a project with Laravel 8 where I need to send an automatic mail everytime the user click a button. I’ve created all the structure, even following some tutorial because I had no idea of how to do it, but even if i see the "Email sent" page, the email doesn’t show on gmail. .. Read more I want to customize footer of my email in laravel I have published vendor/notifications and I have changed the datas in it but it doesn’t effect on my emails and it seems my emails do not see these changes I have cleared cache but no results.. Sourc.. Read more i am sending two mails after payment is successfuly done so it is taking too much time i try to used laravel mail queue but one mail is sending fine the other just not this is my code. //controller public function saveData(Request$request){ SendEmailJob::dispatch($mailBody, 0,$request->email); } //mail public function build() { if ($this->val == .. Read more I have a hug problem into my code, but I don’t understand the problem. The error is : Address in mailbox given [Service Cotation Groupage] does not comply with RFC 2822, 3.6.2. But my address mail is correct because it take : [email protected], no space is inside, the format is correct … The example of .. Read more I’m trying to host multiple Laravel applications on cPanel and I have been facing this issue for the past 3 days: 503-Please turn on SMTP Authentication in your mail client. (domain.com) 503-[XXX.XXX.XXX.XXX]:XXXXX is not permitted to relay through this server 503-without authentication. 503 Valid RCPT command must precede DATA The websites are currently hosted on .. Read more I am implementing a invoice API system for that I have to implement an automated reminder email on due date, after 3days, after 7days (it is like a API so the email has to be send from login user email to the selected customer) For this system so far I implemented a checkbox selection which .. Read more Following a tutorial on YouTube, I have run the following command to create the Mailable and the views: php artisan make:mail TestEmail –markdown emails.test-email But when I preview the email in the browser, or have it sent, I have the content but no styling at all. I have published the email views using: php artisan .. Read more In Laravel I’m using a mailable with postmark driver (API) for sending an email. It looks like this: <?php namespace AppMail; use IlluminateBusQueueable; use IlluminateContractsQueueShouldQueue; use IlluminateMailMailable; use IlluminateQueueSerializesModels; class SendMail extends Mailable implements ShouldQueue { use Queueable, SerializesModels; public$mailable; public $email; public$media; public $vCalendarName; public$body; public $entity_id; public$entity_type = ‘AppDomainMailingModelsMailable’; ..

I’m using Laravel 8, and my Client asks to be able to modify the mailables content. I need to show the different notification templates, and let the users add text, action buttons, etc. I’m thinking on building a DB structure to store the different fields with the corresponding order, but I’m not sure if it ..

i have an email send using ajax laravel, in controller file public function SendEmailByLaravel(Request $request) {$data = [ ‘subject’ => $request->get(‘subject’), ’email’ =>$request->get(’email’), ‘body’ => $request->get(‘body’), ‘image’ =>$request->get(‘image’) ]; //dd($subject . " " .$email . " " . $body . " " .$image); //dd($data[‘subject’]); Mail::to($data[’email’])->send(new PersonalMail($data)); } and in mail .. Read more Greetings master devs. I have this mail class that is to send an email after user is manually verified in the admin backend. I copied credentials from mailtrap.io into my env file to test the mail but received this feedback when email class is invoked. Swift_TransportException Connection could not be established with host mailhog :stream_socket_client(): .. Read more I need to send a few mails with my laravel application, and they are not really personalized. I’ve used the markdown mail system in laravel, and everything was smooth for the tests. I had mailtrap setup to catch all the mails, no problems. Now I have to use mailjet to send mails – not to .. Read more I was trying to make some emails to send when someone register. here’s my code AppHttpApiNotificationEmail <?php namespace AppHttpApiNotification; use AppAbstractsHttpApiController; use AppNotificationsEmailEmailNotification; use AppHttpRequestsEmailEmail as Request; use IlluminateSupportFacadesMail; class Email extends ApiController { /** * email sent. * * @param Request$request * * @return Response */ public function sent(Request $request) {$to = ..

I have applied Laravel Notifications email template to send email when a comment is applied. Here the code: $mailmessage= (new MailMessage) ->line( __(‘messages.hello’).’ ‘.$this->arr[‘user’].’,’) ->line($this->arr[‘created_by’].’ ‘.__(‘messages.comment_’.$this->arr[‘function_name’].’_you_owner’,[‘task_name’=>$this->arr[‘function_title’]] )) ->line(new HtmlString(‘<div class="lightgreylayer">’.$this->arr[‘comment’].'<div>’)) ->action(__(‘titles.view_’.$this->arr[‘function_name’]), url($link)); All works fine except for a class lightgreylayer I applied to a single line. the class is applied, but to all the following ..