Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
92 views

So editing the config/mail.php during launch time to let each user have their own mail template: Config::set('mail.markdown',[ [ 'theme' => 'domain.com', 'paths' =&...
Neo's user avatar
  • 11.7k
0 votes
0 answers
16 views

I am stuck here I want to send mail in Laravel 10 Mail Class with dynamic email address.I am using Hostinger for hosting & mail both. I have searched alot but the available solutions they are ...
Ahmed Ibrahim's user avatar
2 votes
2 answers
189 views

Hi I'm trying make a function to send an email and attach a .pdf file by using the dependency laravel mPDF My mail object where the error happends is in the attachments() function: class ...
Emmanuel Morales's user avatar
0 votes
0 answers
71 views

I recently installed prettier in my laravel project and everytime I run the fix npm run lint:fix which is prettier --write ./resources/views it reformats the mail in a way that I am it breaks the ...
Syed Abdur Rehman Kazmi's user avatar
-4 votes
1 answer
46 views

this is my code and i can't use "//" in url part because it comment out my code <x-mail::message> # Introduction The body of your message. <x-mail::button :url="https://youtu....
Aung Bhone Myat's user avatar
1 vote
2 answers
309 views

I have a weird issue with laravel redirect() after mailer function being executed in my controller for contact-us functionality. It sometimes returns server error 500 and the log says "[2024-02-...
lion69's user avatar
  • 9
1 vote
1 answer
703 views

I want to implement Laravel mail service to send mail to user and attach file with that like dompdf package granted pdf. I tried to implement a mail service to send mail in the controller and did it ...
Dark knight's user avatar
0 votes
1 answer
1k views

I am trying to integrate email([email protected]) into my Laravel application. I am not using Mailtrap or Google's SMTP. My hosting provider has an email server. I am planning to use that email ...
akif akram's user avatar
0 votes
0 answers
230 views

I am having problems sending emails via Laravel 10. The error message from the email server is clearly understandable. My IP address from the provider, which is shared with other customers, was ...
root66's user avatar
  • 605
2 votes
0 answers
1k views

We started getting error Expected response code "250" but got empty code. when sending emails via Symfony Mailer on Laravel 10 and Mailchimp. There are lots of similar questions and all of ...
Gino Pane's user avatar
  • 5,031
0 votes
2 answers
222 views

I have store the Gmail inbox in my database and listed on admin panel, now I want to Forword the received mail to another, how to do that in Laravel. I have use laminas/laminas-mail package to store, ...
Husain's user avatar
  • 5
0 votes
0 answers
137 views

We have been using the following code for over a year. $data = [ 'date' => '11/11/11' ] $notification = new Notification($data, "Hello", 'mail.account.report'); Redis::throttle('...
nsz124's user avatar
  • 1
0 votes
0 answers
453 views

Hello I wanted to embed an Image in a Mail in Laravel. Sure when using a link to the public resource for my image, it does work but I dont know if it is better than embedding the Image directly into ...
Dusto's user avatar
  • 65
0 votes
0 answers
263 views

I have created mail job with attachment which works very fine from localhost (window) but when I run same code in server (ubuntu 18.4) I am receiving email but without attachment. Couldn't figure out ...
Sant Bohara's user avatar
0 votes
1 answer
466 views

I want to sent 2 mails, but from name is different for one, while for second its the default in env file I tried this: Mail::send( 'register.mail', ['record' => $...
Usama Jalal's user avatar
0 votes
1 answer
697 views

I have an online appointment form from where user can take appointment. An email will be generated after taking appointment. But getting below error while sending email. Trying to access array offset ...
Arafat's user avatar
  • 143
2 votes
2 answers
3k views

I need to change Laravel Mail Configuration during the runtime. This is because the configuration needs to be changed several times during runtime, not just once on app initialization. foreach ($...
itstare's user avatar
  • 57
2 votes
3 answers
2k views

I need to send some test emails from Laravel and want to do it, without Mail classes, etc. I usually use the Mail::send() function for this and it works fine. However, I've just realized that cc/bcc ...
AdamJones's user avatar
  • 651
2 votes
1 answer
450 views

'How can I translate the markdown email template ? I tried to use __() inside the template but it doesnt work. My template : <x-mail::message> # Password __{{'Your password is'}} : {{ $password ...
Seb's user avatar
  • 23
0 votes
0 answers
206 views

In development it works perfectly, the emails reach the recipient, but when I display the project in cpanel I get a 500 error when my client presses the send button. Currently my configuration is like ...
Gustavo's user avatar
1 vote
1 answer
724 views

I am trying to send 2 files attached to my mail but it is only attaching the first file and not the second file at the mail... What I have been trying: Mail Controller: <?php namespace App\Mail; ...
Marzanur Zarif's user avatar
0 votes
1 answer
838 views

Google mail is running perfectly for sending mail but domain-mail (support.myDomain.io) returns following errors Swift_TransportException Failed to authenticate on SMTP server with username "...
Neeraj Yadav's user avatar
0 votes
1 answer
1k views

Google mail is running perfectly for sending mail but domain-mail (support.myDomain.com) returns following errors Swift_TransportException - Failed to authenticate on SMTP server with username "...
Neeraj Yadav's user avatar
0 votes
2 answers
231 views

I am sending a mail and after mail is send I want to redirect user to a specific url $mail = Mail::send('test.mail', ['a' => 'a'], function (Message $message) { $message->to(['hod@vu....
Usman Khan's user avatar
0 votes
0 answers
120 views

I update the Laravel version to 9. Everything is working fine after the upgrade. I am using the Log driver for mail as I am developing on my local system but the mail content inserts in my laravel.log ...
Sachin Kumar's user avatar
  • 3,276
0 votes
1 answer
132 views

I have two problems with Queue Jobs in Laravel 9. At one job, I'm trying to export some relational data to a .CSV file and want to notify users when exporting is finished. For this task I'm using Jobs....
Vito Andolini's user avatar
0 votes
1 answer
22 views

I have create the below code for email notification generate. I have added the subject name to 'bookingno' number, it's showing the below error message. please support me. ErrorException Trying to get ...
SSarangi's user avatar
1 vote
1 answer
748 views

How to dynamically set username and password(from database) in laravel (.env file) for sending mail using smtp MAIL_DRIVER=smtp MAIL_HOST=smtp.googlemail.com MAIL_PORT=465 MAIL_USERNAME= MAIL_PASSWORD=...
Anurag CK's user avatar
1 vote
0 answers
112 views

We are able to send out emails but a problem seems to occur when the email has an attachment. we're getting this authentication error which is weird because we are able to send out no attachment ...
magicianiam's user avatar
  • 1,579
0 votes
0 answers
460 views

I'm new to Laravel and I'm doing this for a thesis project. What I was trying to do is I want to send an email to the client that sent a payment after the admin has confirmed the payment. what I tried ...
driedfrijoles's user avatar
-1 votes
1 answer
274 views

Using Laravel Mail System with the following function, there isn't a subject method defined. $mail_response = Mail::to($user_mail) //->subject($mail_subject) //Undefined method 'subject'....
StackOverFall's user avatar
0 votes
1 answer
1k views

I was able to send an email but when I put the attachData() in the UserMail there was an error. I think because of the parameter $this->pdf that should be declared in UserEmailJob, and I don't know ...
Sharmae Reyes's user avatar
0 votes
1 answer
532 views

I already edited my .env to QUEUE_CONNECTION=database and tried to replace from send to queue. I also tried to add implements ShouldQueue to my CertificatEmail but not working. I don't know what's ...
Sharmae Reyes's user avatar
0 votes
1 answer
509 views

Instead of 'john' I want to replace it using the selected user's name from database. Is there a way to this on Mail? Controller public function sendEmail(Request $request) { $users = ...
Sharmae Reyes's user avatar
0 votes
1 answer
305 views

Using Laravel 9 with Breeze I want when a user with a specific role has been created, he should receive a custom welcome mail with a link to a view, where he needs to set a password How can I just ...
JanBoehmer's user avatar
0 votes
2 answers
303 views

I have a problem to solve. However, this problem came to me from sentry.io. So I didn't see the problem directly. The problem is as follows: Address in mailbox given [] does not comply with RFC 2822, ...
iguner's user avatar
  • 61
0 votes
1 answer
1k views

PasswordResetController <?php namespace App\Http\Controllers; use Illuminate\Http\Response; use App\Http\Requests\PasswordResetRequest; use Illuminate\Support\Str; use App\Models\PasswordReset; ...
bhabishya chaudhary's user avatar
0 votes
1 answer
689 views

i can send the email without any problem, but form still like not submitted (refresh) or redirect to another page>>>> this is my function to send an email: function sendEmail(Request $...
Osama Mohammed's user avatar
0 votes
1 answer
1k views

I have used the Laravel Mail attach method to specify file attachment for the mail being sent. The file attached successfully but cannot be viewed. ->attach(route('download_attachment', 'file=' . $...
myJourney's user avatar
-1 votes
4 answers
1k views

I want to send email verification when a user signs up with a new Email Address. So at the Register Controller I added this: public function register(Request $request) { if(Session::has('email')...
Peter Amo's user avatar
  • 261
-1 votes
1 answer
154 views

I am trying to send mail but it is giving this error: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence following ...
Taha Malik's user avatar
-1 votes
2 answers
582 views

When I try to send reset password notification, this error occurs Attempt to read property "view" on null this is the code line on which this error occurs $this->notify(new ...
Mohsin Ali's user avatar
0 votes
1 answer
892 views

Currently, I know Laravel has shipped mail templates. but only one template. How to create other templates and tell which template need to use before sending an email. public function ...
Syafiq Safiyan's user avatar
3 votes
2 answers
4k views

Following the documentation, I have created my own mail template using markdown mailables: https://laravel.com/docs/9.x/mail#generating-markdown-mailables The point is that I need to customize ...
jssDev's user avatar
  • 993
1 vote
0 answers
307 views

How can I get the response from Mailgun using Laravel mail. Here is my code. // In User Model. $mail = \Mail::send([], [], function ($message) use ($parsed_template) { $message -&...
Abhi Singh's user avatar
0 votes
2 answers
230 views

I have an laravel 7 application and use smtp with google services to send my emails. However some clients receive the emails with attachments, but no body. The content of the email is completely blank....
Salman's user avatar
  • 1,063
2 votes
1 answer
11k views

I face a problem it the first I see this problem in Laravel 7. InvalidArgumentException: Mailer [SMTP] is not defined. in file /home1/clinicph/clinic/vendor/laravel/framework/src/Illuminate/Mail/...
Hasan Hatem's user avatar
0 votes
1 answer
551 views

In my case, In the Mailable Class I store the email in the variable hardcode form LIKE $email = '[email protected]'; then, its work fine. but when we pass the email dynamically from the Controller LIKE ...
Umar Waqar's user avatar
0 votes
1 answer
892 views

I create a panel with laravel 8 and create some emails jobs that must send emails to specific users on specific dates it works fine. I created the database with 2 columns user_id (id of the user that ...
foad fartash's user avatar
0 votes
0 answers
315 views

I have implemented laravel queue with supervisor on prod server. The problem i am facing is when i send mail for the first time in a day, the mail get delayed but the job is processed but after that ...
Love Sharma's user avatar

1
2 3 4 5 6