Questions tagged [mailer]
661 questions
7
votes
2 answers
How to send multiple email with cc using Codeigniter?
I need to send email to multiple users provided with cc using CI.
My code is as shown below:
This below code worked for sending email for single user but i need to send same message to multiple user at a same time..
…

Susanne
- 73
- 1
- 1
- 4
7
votes
4 answers
How to instantiate mail() function and send an email with Joomla2.5?
Based on the Joomla! documentation @ http://docs.joomla.org/Sending_email_from_extensions, I'm trying to send emails with the code below:
function sendmail($file,$mailto)
{
$mailer =& JFactory::getMailer();
//var_dump($mailer); exit;
…

mum
- 1,637
- 11
- 34
- 58
6
votes
1 answer
Laravel 9 mail on production get only this error - Expected response code "250" but got code "451"
We've upgraded our application to Laravel 9 last week and noticed a large amount of failed jobs appearing as soon as we deployed the build in production.
Those errors were all email related with the following error message:
Expected response code…

mrakodol
- 1,143
- 3
- 12
- 41
6
votes
1 answer
Configure nest-cli.json to include non TS file into the dist folder
I'm looking for a solution for several hours now:
I'm creating an email service with nestJS and nest mailer.
Everything work find until I want to include a template with my mail.
Those templates are hbs files located in src/mail/templates
I know…

De_Jr
- 191
- 3
- 11
6
votes
2 answers
Ruby on Rails: How to Configure the Devise Mailer?
I have made an application on Ruby on Rails. I'm using Devise and I need to use the recoverable password feature.
I found these configurations on development.rb:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
…

Jorge do Carmo
- 65
- 1
- 1
- 7
6
votes
4 answers
Adding Multiple Attachments in PHPMailer
I am trying to attach multiple images in the attachments. I have used forearch for every attachment but, its not getting the tempname and name when I use foreach, I'm probably doing something wrong. Below is the code and errors:
Input HTML

Fahad Sohail
- 1,818
- 4
- 21
- 33
5
votes
1 answer
How to Send A Complicated Email with Flutter Mailer Package
I am able to send simple HTML emails with the Mailer package (https://pub.dartlang.org/packages/mailer). As in their example, "
Test
\nHey! Here's some HTML content
"works as a simple HTML text: final message = new Message() ..from =…
Henry
- 379
- 4
- 11
5
votes
0 answers
heartbeat timeout error running rabbitmq
Running a Rails App in Mac. I start rabbit mq server in other terminal tab:
$ rabbitmq-server
The I do staff within my Web App, and when the mail is supossed to be sent, I got this in /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
=INFO…

Emba Moussa
- 662
- 8
- 18
5
votes
4 answers
How to create Responsive Email Template?
How to create Responsive Email Template?
I can build responsive layout using media-query but these styles we can write only in external/internal CSS. Email template we cannot use DIV and external/internal CSS.
How can i build responsive email…

shanidkv
- 1,118
- 1
- 9
- 12
5
votes
1 answer
Rails, passing an object to mailer
I've got a theoretical question about mailer in Rails.
I've heard a pair of times that passing resources directly to mailer is not considerated as good practice. And that is its better simply pass an id to load the object. For example exactly this…

Nikolay Rys
- 137
- 2
- 9
5
votes
4 answers
PHP mailer form with radio buttons using AJAX to send
TL; DR Solution: change .val in the javascript to .serialize for any radio inputs.
I've been using this tutorial to build a form that, when the submit button is pressed, fades out the button and fades in a "thanks" message and sends the mailer.php…

Dan Schwer
- 53
- 5
5
votes
1 answer
ArgumentError: SMTP-AUTH requested but missing user name + ActionMailer
I m not able to sent mail using actionmailer everytime I try to deliver the mail using actionmailer It report me with error
ArgumentError: SMTP-AUTH requested but missing user name
This is Strange as I'm able to sent mail via Telnet but not using…

Ratatouille
- 1,372
- 5
- 23
- 50
4
votes
3 answers
How to generate correct URLs in mailer templates?
I am using Ruby on Rails 3.1.0 and I would like to properly generate URLs in HTML email messages. In my environment file I set
config.action_mailer.default_url_options = { :host => 'my_site.org' }
In the email view file (.html.erb) I state
<%=…

user502052
- 14,803
- 30
- 109
- 188
4
votes
2 answers
Rails User Sign Up Mail Confirmation
I'm trying to create a mailer that sends out an email whenever a user signs up. Pretty simple but I'm new to rails.
I have a site that already creates the user. I have a login and sign up page that works correctly, but need some help creating a…

Chris R
- 45
- 1
- 5
4
votes
2 answers
Swift Mailer attachments
I'm creating a CSV on the fly with PHP, I then need to attach this CSV file to the the Swift Mailer Message. I have tried using file_get_content on the created file aswell as using chunk_split(base64_encode(file_get_contents()) on the created file…

Dan
- 73
- 1
- 2
- 8