swiftmailer Questions

2

I´m working in a localhost server with Symfony 4 and FOSUserBundle. I can't manage to receive the email confirmation when a new user is registered. I have tried the following post but it´s not wor...
Convert asked 12/4, 2018 at 15:43

3

Solved

I know this question have been asked before but any of the given responses read have become into a solution for this scenario with Symfony2 + Swiftmailer + Amazon SES. I setup Amazon SES account d...

3

Solved

I switched from sending my mails immediately to adding them to the queue, here is my code, the $attachments is an array of temporary paths, I've commented out what I've tried, which throws errors a...
Quadrant asked 13/5, 2014 at 17:4

3

Solved

I'm attempting to send an email using the CakePHP SwiftMailer component I found here: http://bakery.cakephp.org/articles/sky_l3ppard/2009/11/07/updated-swiftmailer-4-xx-component-with-attachments-a...
Villalba asked 2/9, 2011 at 15:30

1

Solved

I have a Symfony 3.3 application that is successfully sending an email with an attachment. The relevant function looks like this: private function sendEmail($data) { $vgmsContactMail = self::cont...
Freemon asked 15/3, 2018 at 8:53

4

I need to disable the validation of ssl certificate for developing purpose but i don't find anything about this in official documentation. http://swiftmailer.org/docs/introduction.html I'm using p...
Chassepot asked 6/4, 2016 at 14:59

1

I'm trying to send emails with Symfony 4, Wamp and fake sendmail on Windows 10 but without success, I'm hosted on OVH. I want to specify that I have a site hosted on OVH with same parameters runnin...
Hooghly asked 29/12, 2017 at 19:0

6

I'm writing a simple script in which a gmail account is used to send an email to itself. I altered the script from SwiftMailer's reference, but I'm not getting any results. What's wrong? Edit: ...
Pizarro asked 13/8, 2010 at 16:33

5

Solved

I am using laravel 5.2, And the using Swift Mailer for password resetting. I have 2-step verification on my gmail.. As the google help says : If you've turned on 2-Step Verification for your ac...
Pero asked 26/5, 2016 at 19:48

13

Solved

When I send an email with the PHP Swift mailer to this server: smtp.exchange.example.com like this: // Load transport $this->transport = Swift_SmtpTransport::newInstance( self::$config->ho...
Cuneo asked 23/8, 2010 at 12:14

2

I want to add an attachment to an email. I am using sfmailer class. Here I have given my code below: $mail_body = '<p>custom html mail content</p>'; $message = Swift_Message::newInsta...
Innkeeper asked 1/6, 2012 at 7:31

3

I can't connect with Gmail SMTP server. Look: $transport = Swift_SmtpTransport::newInstance() ->setHost('smtp.gmail.com') ->setPort(465) ->setEncryption('ssl') ->setUsername('[ema...
Everard asked 14/12, 2015 at 20:56

2

Solved

Hi I'm using the php mailer Swiftmailer to send through SendGrid using the SMTP API. We can pass unique arguments to SendGrid to help track the email. I've been successful in passing unique headers...
Kyleekylen asked 25/2, 2017 at 13:9

1

Solved

I am trying to add header to message sent via swift mailer. $message = Swift_Message::newInstance($title) ->setFrom(array('[email protected]' => 'Name')) ->setTo(array($email =&gt...
Berget asked 29/9, 2017 at 11:3

1

I have symfony project with swiftMailer bundle. I was trying to send email via swiftmailer using NTLM auth. But I have not found a way to turn on NTLM via configuration of the bundle. After strugg...
Rothberg asked 5/4, 2016 at 6:8

3

Solved

I'm trying to use Swiftmailer to send emails out from a website. The emails keep getting deferred because Swiftmailer is attempting to use my server's IP address rather than localhost as the relay:...
Beat asked 2/8, 2017 at 18:29

3

I am currently not receiving emails using the below configuration and was wondering if's it something to do with my set up maybe missing something or it doesnt work on MAMP localhost? main-local.p...
Interradial asked 1/3, 2015 at 1:25

7

Solved

SwiftMail does not send my email, while mail() does work. Same as here. I added the EchoLogger but it does not print anything. $message = Swift_Message::newInstance(); $message->setSubject('Te...
Naquin asked 16/5, 2012 at 11:27

3

I am trying to use swiftmailer in my project so that I can send html newsletter to multiple users. I have searched thoroughly but all i got never worked for me. I want to paste more than one recipi...
Remunerate asked 29/6, 2017 at 14:52

1

Is there a way to pass a callback function to Laravel's mailer? I'm using the Mail facade with a mailable class, which is sending out an attachment. I would like to delete the attached file form s...
Rabbin asked 31/5, 2017 at 19:16

2

I have successfully generated a PDF using mpdf, which I have verified by downloading the PDF. However, when I send the PDF as an e-mail attachment I receive a blank PDF with an "Out of Memory" erro...
Stolen asked 31/10, 2013 at 22:49

1

Solved

Drive setting in my .env file is as follow MAIL_DRIVER=sendmail MAIL_HOST=gmail-smtp-msa.l.google.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=password MAIL_ENCRYPTION=ssl and i...
Privett asked 4/4, 2017 at 12:52

3

New to PHP and Swiftmailer and have yet to get it working. I've uploaded the /lib/ directory to a directory in the root of my shared webserver from Hostgator. I've uploaded the following inside in ...
Azeria asked 14/10, 2013 at 18:1

4

I use SwiftMailer to send emails from a gearman worker process. I'm using the Swift_SmtpTransport class to send emails. The problem is that if this worker process stays idle for sometime, the Swif...
Diphyllous asked 6/11, 2012 at 18:30

3

Solved

I am using Mail function in laravel under the SwiftMailer library. Mail::send('mail', array('key' => $todos1), function($message) { $message->to(array('[email protected]','[email ...
Barely asked 11/11, 2014 at 11:58

© 2022 - 2024 — McMap. All rights reserved.