swiftmailer Questions
3
Solved
When I try to send an e-mail through my website running Laravel 4, I get this exception:
Expected response code 250 but got code "535", with message "535-5.7.8
Username and Password not accepte...
Comus asked 7/8, 2014 at 22:46
5
Solved
Please excuse my php but, Im using Swiftmailer to send emails from a clients website. They've requested to add an image or two as a signature etc and so looking at the swiftmailer spec here
http:/...
Gatepost asked 21/3, 2013 at 0:51
3
Solved
This is how I can generate pdf page
public function actionPdf(){
Yii::$app->response->format = 'pdf';
$this->layout = '//print';
return $this->render('myview', []);
}
And this is ...
Dean asked 9/12, 2016 at 10:21
2
Solved
Since a few days I can't send email anymore using Symfony and Swiftmailer, though I'm using the code from the documentation
private function _sendResetPasswordEmail(UserInterface $user)
{
$subj...
Silber asked 1/8, 2017 at 21:29
3
Solved
Is there any way to access your parameters within a mail layout when using the Yii mailer class? I can access $model from the view but not the layout.
<?php
$params = array(
"model" => $m...
Antalkali asked 13/8, 2015 at 14:34
3
Solved
As always here is the place where I have learned a lot. And I have now a new things to learn:
I have a html form:
<tr><td width="16%">File attachment</td><td width="2%">:&...
Athome asked 3/7, 2012 at 22:6
8
Our emails are failing to send using Laravel with a Redis Queue.
The code that triggers the error is this: ->onQueue('emails')
$job = (new SendNewEmail($sender, $recipients))->onQueue('emai...
Ormuz asked 9/2, 2016 at 23:25
2
Solved
How can I set a value in YAML from another key e.g:
example.emails:
- [email protected]
- [email protected]
- [email protected]
swift:
to_email: example.emails
Prothorax asked 9/3, 2013 at 14:46
7
I'm hosting a site on Amazon's ec2 running a 64-bit version of CentOS.
The site has a simple Contact Us form that needs to send an email to several addresses when submitted (pretty basic).
Has an...
Vocalism asked 7/2, 2012 at 22:44
1
SwiftMailer expects an array of e-mail addresses, possibly including names as values of the array:
$message->setTo([
'[email protected]',
'[email protected]' => 'Person 2 Name',
...
Germin asked 16/8, 2019 at 9:15
2
How can reply-to be set when using Swiftmailer. The docs mentioned the function setReplyTo() but without specific instructions on how to use it.
Any help will be appreciated.
Volvulus asked 3/8, 2011 at 23:48
4
Solved
I am working on a Symfony 4 app using Swift_Mailer to send e-mails with.
Since there is no possibility in my case to use SMTP (don't ask why…) I have to use something like sendmail.
By default the...
Moua asked 23/7, 2018 at 16:25
1
Solved
I have migrated to new server from old server. There are quite changes in new server. Old server was using PHP 5.6 and phalcon 3.2 and new server is using PHP 7.3 & phalcon 3.4.4.
In old serve...
Orwin asked 6/8, 2019 at 9:38
4
Solved
I'm trying to send an email with php and swiftmailer, using STARTTLS, but I'm getting a certificate error. I have root access to the SMTP server, and the certificate used is self-signed.
I'm using ...
Veranda asked 12/11, 2014 at 20:48
5
I'm currently working on a Symfony 4 application and I need to send emails throught Swift Mailer.
When I send an email, I receive the email spooled but I don't get it in my Gmail Mailbox.
I allowed...
Bandung asked 21/2, 2018 at 21:9
2
Solved
I have a service which extends UserManager, so when I do:
$message = \Swift_Message::newInstance()
->setSubject('~')
->setFrom('~')
->setTo('~')
->setBody('~', 'text/html');
$this...
Pignus asked 16/1, 2013 at 14:53
4
Solved
When I click submit button on my contact page, trying to submit a form that uses swift-mailer, I get this:
Warning: fopen(uploads/)
[function.fopen]: failed to open
stream: No such file or dir...
Giusto asked 25/12, 2010 at 18:23
2
Solved
I started a project using symfony 4 and the mailer doesn't work, however it should be easy.
before you ask, if i copy past the login and password from my code i'm able to log into my mail account, ...
Saltant asked 12/1, 2018 at 16:17
8
I'm posting because I've already gone through the solutions posted in other questions on here but they haven't helped.
What I am trying to do is send email using Swiftmailer through Google Apps fo...
Prissie asked 27/8, 2014 at 0:47
2
I am just trying to get my multipart emails encoded with base64 and send via swiftmail. Here is the code I have so far:
$message = Swift_Message::newInstance("Email Template Test")
->setBounda...
Somali asked 11/4, 2014 at 9:23
4
I already tried several solutions, the closest (for me) should look like this:
$file = $pdf->Output('', 'E');
$message->attach(Swift_Attachment::newInstance($file, 'name.pdf', 'application/p...
Sorus asked 9/11, 2011 at 11:32
6
Solved
I can't finally understand how to use the swiftMailer extension in Yii2. Judging by that on this subject I didn't find questions, the task is trivial, but up to the end I couldn't understand.
Ther...
Catholicism asked 28/7, 2014 at 12:48
2
Solved
I'm trying to send email with Laravel using mailtrap for testing in a local homestead server.
The firewall shows no rules blocking port 2525.
Mail driver config:
MAIL_DRIVER=smtp
MAIL_HOST=mailt...
Photoreceptor asked 13/3, 2018 at 21:38
3
Solved
I have some basic html and some css but for some reason gmail puts 3D infornt the 'text/css'
Code sample
$message = "
<style type='text/css'>
#main {border:1px solid red;}
</style>...
Music asked 26/5, 2012 at 1:5
3
Solved
Is there a way to test Mail in Laravel 5? tried the only legit Mock example I see on the internet but it seems it only works on Laravel 4. current code below.
$mock = Mockery::mock('Swift_Mailer...
Burthen asked 29/6, 2015 at 16:12
© 2022 - 2024 — McMap. All rights reserved.