Questions tagged [symfony-mailer]

Symfony's Mailer component helps sending emails and provides integration with the most popular mailing services.

75 questions
1
vote
0 answers

Symfony Mailer base64 encoding

How can we use the setEncoder() function that we used in the old swiftmailer library on the new Symfony mailer? I think setEncoder has been removed from symfony mailer. Every mail sent is automatically quoted-printable. The transport and email I…
ashbringer
  • 83
  • 1
  • 5
1
vote
0 answers

Different global senders per mailer transport in Symfony

I'm just wondering is it possible to set different global senders for each smtp transport in Symfony Mailer component. Here is the problem: I have configured 2 different transports: framework: mailer: envelope: sender:…
Andrii Sukhoi
  • 749
  • 5
  • 14
1
vote
1 answer

Multiple smtp servers in symfony mailer

I am trying to configure sending emails with Symfony mailer component. It perfectly works with one DNS (which I have in my .env file). But I want to have 2 of them for example. How can I configure it? I haven't found anything sensible in the…
Andrii Sukhoi
  • 749
  • 5
  • 14
1
vote
2 answers

How to send the notification as content as HTML with Notifier when using the email channel?

Is it possible to send and email as html with new Symfony Notifier service? How? There's not much context to add to this simple question. Notifier class is a new service in Symfony 5 that implements sending notifications through different channels.…
K. Weber
  • 2,643
  • 5
  • 45
  • 77
1
vote
1 answer

Switch sendmail Parameters in symfony/mailer when using symfony/messenger

The local Development Machine uses msmtp for sending Mails, which works fine. BUT it does not accept /usr/sbin/sendmail -bs, it only works with /usr/sbin/sendmail -t. I can see that I could change this when using other parameters for the…
user1512255
0
votes
1 answer

symfony Mailer : not sending mail and there's not error

i use Symfony6.2 Mailer to sent an email like this docs https://symfony.com/doc/current/mailer.html but the mail is not sent (i cannnot see any new mail in the inbox ) and i dont have any errror?! my mailer.yaml \`\`\`framework: mailer: …
HAron
  • 43
  • 7
0
votes
0 answers

Get the message id of provider by custom transport symfony

I am using Symfony Custom Transport, and when I send mail with MailerInterface, as a result I am getting its own messageId. However, I want to get the messageId of the provider, that I use in my Custom Transport(In my case it is Brevo). Also I This…
0
votes
0 answers

Outlook mail doesn't show image thumbnail when sent using symfony mailer

I am using Symfony mailer in my Laravel app. The issue is that when I send image as attachment outlook web shows image thumbnail as white document, when I send the same image manually the thumnail is generetated for the image. Also other mail…
0
votes
1 answer

How to configure symfony mailer when every sender require authentication before sending message

In my app i have many sender and the smtp server require authentication for every sender before sending message. Note: my senders are stored in database with their password How i can implement this in symfony mailer to retrieve password and…
Jozeph B.
  • 26
  • 4
0
votes
2 answers

Why are Laravel emails showing embedded images as attachments?

I just updated the Laravel version for my project from 7 to 9, which switches to using Symfony Mailer instead of SwiftMailer, under the hood. So in my emails, I'm using this method (Inline Attachments) which is specified in the documentation for…
user883992158
  • 325
  • 3
  • 17
0
votes
1 answer

Symfony Mailer trouble

The code does not work(. It gives me the error
0
votes
1 answer

TemplatedEmail can't be send because of the missing html

My email looks like: $email = (new TemplatedEmail()) ->from(new Address('example@example.com', 'Support')) ->to('example@example.com') ->subject('Your password reset request') ->htmlTemplate('reset_password/email.html.twig') …
Toma Tomov
  • 1,476
  • 19
  • 55
0
votes
0 answers

Send email with office365.com serveur by Yii2 app - not found in sent mailbox

i have a yii2 app working since 2019 and php 7.4. It send mails via swiftmailer and smtp.office365.com. And when an email is sent, we can find it in the sent mailbox of the address. As i want to go to php8, i've downloaded a new yii2 advanced…
DavidP
  • 53
  • 9
0
votes
1 answer

Integrate Sendinblue in Laravel 9

I'm trying to integrate the Sendinblue API in my Laravel 9 Project. Therefore I'm following the docs from https://laravel.com/docs/9.x/mail#custom-transports I'v installed the "symfony/sendinblue-mailer" package" an edited the services.php file…
KTSB
  • 79
  • 4
0
votes
0 answers

Error trying to send email with Symfony Mailer

How do you configure Symfony Mailer? I'm swapping Swiftmailer to Symfony Mailer because Swiftmailer is now deprecated. However, I haven't been able to send a single email with Symfony Mailer yet. Swiftmailer always works and the emails are caught by…
CJ Dennis
  • 4,226
  • 2
  • 40
  • 69