Questions tagged [mailer]

661 questions
3
votes
1 answer

Why is the Symfony Mailer Component returning an empty response?

I want to convert my mailing from Swift Mailer to the Mailer Component, since I upgraded to Symfony 4.3. I've translated my MAILER_URL to a MAILER_DSN, the following…
Majesteit
  • 183
  • 1
  • 9
3
votes
1 answer

Rails 5 app cant send sendgrid emails (Cloud 9 and Heroku)

Ive checked many posts about it and still, cant find the solution..i thought that its working in deployment but no, those emails werent sent..i was just getting them in the console. Ive checked my sendgrid credentials, i added global variables with…
kaspar9
  • 31
  • 2
3
votes
2 answers

PHP Mailer is sending Duplicated Email (two emails at once)

PHP mailer is sending two emails at once i tried to send it without loop just a single email but it was the same result I found this here on stackoverflow but not changing anything $mail->SingleTo = true; So what can i do for this how can i send…
lotfio
  • 1,916
  • 2
  • 18
  • 34
3
votes
1 answer

Rails Mailer - Can't access instance variable from Mailer View

I have a rails mailer that currently sends an email successfully anytime a user replies to another user's comment. (the email goes to the person who was replied to). I'm trying to add some dynamic content in the email body like the username of the…
3
votes
1 answer

HAProxy Mailer SMTP Authentication

I would like to send alerts using a mailer in HAProxy. I tried to follow: email-alert The problem is that my mail server requires a SSL connection with username an password. Any suggestions?
B3rn475
  • 1,057
  • 5
  • 14
3
votes
2 answers

Concatenate mail subject in PHP mailer

I have a form for users to submit their inquiry which will be sent as an email. As users are able to select their inquiry type, i wish to concatenate the inquiry type into the subject of the email. $formname = "Website Inquiry Form"; $inquirytype =…
Spiral1ng
  • 313
  • 1
  • 7
  • 16
3
votes
1 answer

Error when embed image in mail using Yii2

I want to embed images in my mail body and I follow the documentation on http://www.yiiframework.com/doc-2.0/guide-tutorial-mailing.html . My code in the controller looks like this: $messages[] = Yii::$app->mailer->compose('downNotify', [ …
hugoinperson
  • 83
  • 2
  • 8
3
votes
2 answers

Rails mailer deliver : getaddrinfo: Name or service not known

When I'm trying to send a confirmation mail to users in my rails application, it puts me this error in my browser: SocketError (getaddrinfo: Name or service not known) Highlighting this line: SwarmNotifier.confirmvisitor(@member).deliver Here the…
yolo
  • 67
  • 1
  • 8
3
votes
1 answer

Settings for Devise::Mailer - diaspora smtp_envelope_from and smtp_envelope_to sendmail

I am having a similar problem. I am using the sendmail option and continue to get the error "An SMTP From address is required to send a message. Set the message smtp_envelope_from, return_path, sender, or from address." I have tested the Mail…
alignedfibers
  • 195
  • 1
  • 11
3
votes
1 answer

What Mailer for Play Framework 2.2?

Someone could reccomend me what mailer install on the new Play 2.2.1 (java)? And how to install? From older questions I've seen that the TypeSafe one is developed by Play creators that it should be good about compatibility but it doesn't send email…
Fred K
  • 13,249
  • 14
  • 78
  • 103
3
votes
6 answers

sensu mailer and pipe

i'm switching over from nagios to sensu. i'm using chef to automated the process. everything is working great except the mailer or actually, i narrowed it down to the "pipe" that is suppose to redirect the json output from the check to the…
user2608740
  • 39
  • 1
  • 4
3
votes
2 answers

TypeError: #<...> is not a symbol

I cannot figure out this issue, even if it does not seem complicated... I want to make a form to send emails in my rails app but this one does not work. I receive the following error: TypeError in MessagesController#create: #
lgerard
  • 117
  • 1
  • 2
  • 10
3
votes
1 answer

How is the best way to check if email was sent once when using rake task?

I have simple mailer which sends user weekly digest and rake task which sends to all users this email, and it is pinned to heroku scheduler. I want to send to user this email each week but only once a week, no matter how many times I run rake…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
3
votes
1 answer

Attaching file in Rails 3 - mimepart Mailer

I'm sending an email using Rails like this: attachments["ticket.pdf"] = WickedPdf.new.pdf_from_string(render_to_body(pdf: "ticket", template: 'template' })) This works well in Gmail but in several other clients the attached pdf just doesn't…
Gago Ar
  • 97
  • 1
  • 3
3
votes
1 answer

how can I fix/avoid this smtp error using swift_mailer?

Sorry, probably just a newbie question but here goes, I have a script that loops over a bunch ( sometimes thousands ) of members sending out email using code like so: $transport = Swift_SmtpTransport::newInstance('...', 25) …
lost baby
  • 3,178
  • 4
  • 32
  • 53