swiftmailer Questions
2
Solved
I am using SwiftMailer to send emails from my application.
All is working fine so far. I now need to be able to change the text of the sender dynamically. The code snippet below and the next parag...
Moiety asked 9/7, 2011 at 11:8
1
I'm trying to send emails via Symfony with Swiftmailer. On the production server I get an error:
[2016-08-20 11:59:37] app.ERROR: Exception occurred while flushing email queue: Unable to connect w...
Putative asked 20/8, 2016 at 12:18
6
Solved
During my tests I call some commands which send emails. I can display the number of emails sent with the following command:
$output->writeln(
$spool->flushQueue(
$this->getContainer()-&...
Carmancarmarthen asked 28/7, 2015 at 14:8
3
When using http://swiftmailer.org can I send a message to the mail queue so that php returns right away instead of actually sending the message right now?
Inez asked 27/1, 2012 at 20:26
2
Solved
I am using Swift Mailer to check for bounced messages. I have created one separate account for bounce messages, however when I set the return path, it does not allow the bounce message send to that...
Jocular asked 29/3, 2012 at 12:32
7
Solved
I am having trouble sending emails with symfony2 and swiftmailer. I am also a bit lost on how to debug this issue. Below is the code. First I am creating a form to display. On submit (request->meth...
Equipoise asked 3/4, 2012 at 20:20
2
Solved
I have created a custom SwiftMailer plugin which I would like to have SwiftMailer use by default in my Symfony 2.3 application. The only documentation I can find in this regard is here: http://symf...
Jessejessee asked 23/10, 2013 at 13:23
3
Solved
Does anyone know if SwiftMailer send function returns delivery status? I would like to be able to know that email was delivered or not delivered.Is this possible?
Thanks
Phares asked 24/4, 2011 at 3:3
4
Solved
I am sending an email using swiftmailer in symfony2, but I would like to add a specified PDF file as a file attachment to the email. How would I do that?
Here is my current code:
$message = \Swif...
Eternal asked 4/8, 2014 at 7:27
3
Solved
I am using Swift Mailer 406 for sending emails. I connect to my smtp.gmail.com account and then I do:
->setFrom(array($from => $fromname))
But the emails sent got the original gmail accoun...
Cardio asked 25/3, 2011 at 11:9
2
Solved
Symfony2 uses a Swiftmailer bundle to send emails.
To use and configure Swiftmailer in Symfony2, one has to use such a configuration as explained in the docs, e.g. by using YAML:
swiftmailer:
tr...
Lowgrade asked 3/3, 2013 at 16:41
5
Solved
Im using swiftmailer for sending mails from my symfony2.2 project. Is there a way to log globally all email info and send results?
It would be great if mailer send() method have trigger somę even...
Desmund asked 3/8, 2013 at 13:12
3
Solved
I'm going to use Symfony2 to sent periodically a newsletter to many users. I've to include a permalink to the HTML email for those who experience problems in reading them with an email client.
Any...
Instructions asked 16/5, 2012 at 14:48
3
I'm using SwiftMailer to send email by SMTP. The library is working fine when running in the server with PHP version 5.4. However, after upgrading the server to PHP version 5.5, email was not sent ...
Interlaminate asked 24/9, 2014 at 15:34
1
Solved
I am using Laravel 4.2, which uses the swiftmailer lib for email. I am trying to use the Sendgrid SMTP service but I am getting an timeout error on my staging server.
Everything works fine in my ...
Cleotildeclepe asked 16/12, 2015 at 15:55
6
I want to send emails using gmail's smtp with the PHP script posted below using Swiftmailer. Now this works fine on my own webserver. But when I used it on the webserver of the people I'm creating ...
Steamheated asked 22/8, 2014 at 14:33
2
Solved
As we can see below there isn't any method called getAttachments() so how can I list/get/loop thru the attachments from Swift_Message object? I couldn't find any info in documentation or an example...
Dorella asked 10/12, 2015 at 17:9
3
I'm using the new mail class in Laravel 4, does anybody know how to check if the email was sent? At least that the mail was successfully handed over to the MTA...
Stapler asked 11/6, 2013 at 1:58
3
Solved
I'm currently trying to get Symfony2/Swiftmailer to send the contents of a submitted form via mail. My parameters.yml contains the following:
mailer_transport: sendmail
mailer_host: ~
mailer_user:...
Camise asked 23/9, 2013 at 12:12
2
Solved
When I send email using telnet smtp server answers me 250 2.0.0 Ok: queued as 7A821440123E when email was sent. So I need to get ID 7A821440123E to track email in mail log.
Is it posible to get thi...
Jardiniere asked 26/12, 2014 at 12:8
2
Solved
since I am already ignorant with PHP I need help in some coding.
I have php contact form that work just fine where html form elements is being processed using javascript and this php code:
<?...
Heisel asked 31/7, 2015 at 13:10
4
I use gmail to send mails ,so I config ‘config.yml’ like this
swiftmailer:
transport: %mailer_transport%
encryption: %mailer_encryption%
auth_mode: %mailer_auth%
host: %mailer_host%
username: %mai...
Leonorleonora asked 10/5, 2013 at 3:40
2
Solved
getting this response by email "HTTP/1.0 200 OK Cache-Control: no-cache Content-Type: text/html; charset=UTF-8 Date: Tue, 13 Nov 2012 04:56:14 GMT".
here is my code:
public function sendEmail($s...
Flock asked 13/11, 2012 at 7:56
1
I'm working on an app built with Laravel 4.2.
My app will send a pretty large amount of individual emails. The problem is that my SMTP server has a limit of max 300 mails/30 minutes and 5000 mails...
Dabber asked 1/6, 2015 at 7:38
2
Solved
I followed the Behat 2.5 docs to test mails. After a few tweaks to match Behat 3 I have ended with the following code (I have removed non-relevant parts):
public function getSymfonyProfile()
{
$d...
Follett asked 21/11, 2014 at 12:6
© 2022 - 2024 — McMap. All rights reserved.