Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
51 views

Rails mail: delivery_method_options ignored when sending with deliver_later

I am sending email using delivery_method_options so that I can send different emails via different servers. This works fine if I am using deliver_now, but if I use deliver_later, the extra server ...
Matt Parlane's user avatar
0 votes
1 answer
57 views

Rails, sending emails: No authentication, which possible settings

My Rails app sends emails using dynamical settings. Each user has his own settings for his own email server. The user's email server is then used as a relay to send mails to other people that come ...
MDickten's user avatar
  • 139
0 votes
1 answer
28 views

Rails UserMailer each vs bcc

I'm going to have to send a bunch of emails, and was wondering the less taxing way to separately send the same email to a bunch of emails. I have to assume that email_addresses = ApplicableUser.all....
daveasdf_2's user avatar
1 vote
1 answer
22 views

How to include urls when evoking ActionMailer::Base.mail

I am sending an email with Rails like so: ActionMailer::Base.mail( from: "[email protected]", to: "[email protected]", subject: "test", body: "test" )....
duhaime's user avatar
  • 27.1k
0 votes
1 answer
64 views

How to display model parameters in a form text area

I'm using a form to create custom email templates in my rails app but I want to be able to customise parts of the email body using parameters from my model. Here is the code for my mailto link: <a ...
Cat Morley's user avatar
0 votes
1 answer
69 views

Rails to send via postfix mail with dynamic domains

an application has multiple tenants and emails should reflect the domain of that tenant. In fact, the mailer defines: from_string = 'do-not-reply@' + shop.shop_value.email_host subject_string ...
Jerome's user avatar
  • 6,023
0 votes
1 answer
224 views

How to using Ruby Mail gem to retrieve email using POP3 and oauth2 token for office 365?

Currently we are using the mail gem to access our email in outlook. Mail.defaults do retriever_method :pop3, address: "outlook.office365.com", port: 995, user_name: username, ...
Evilmuffin's user avatar
0 votes
0 answers
125 views

Send email using html button javascript and Rails

Im new to using rails and i have a test where im given a code that send an email through a click and i have to compleate it, Here is the code: app/views/root/index.html.erb <%= form_tag root_path, ...
bilel abdelmoula's user avatar
0 votes
0 answers
175 views

how to end email using Rails and js and html button?

Im new to using rails , and i am trying to figure out a solution to sending an email using an html button, javascript function and rails. HTML and JS code: <%= form_tag root_path, class: "send-...
bilel abdelmoula's user avatar
0 votes
0 answers
34 views

Error sending emails in Ruby 2.6.2 / Rails 6.1.4 on Centos 8 in production mode

I have a rather strange problem. I have an app mounted on rails by "rvm use [email protected]". Apparently everything works correctly in production environment, except for sending emails. The ...
Mandres's user avatar
  • 73
1 vote
1 answer
498 views

Why getting hyphen in gmail subject?

I am using Devise gem and when I send my web application, every time, I got extra hyphen (-) in gmail subject like below: I wonder that I am getting this hyphen in gmail but I am not getting this ...
HM Tanbir's user avatar
  • 1,020
1 vote
0 answers
899 views

Sending Email with Ruby on Rails and OAuth2 (Office 365)

Our application is built on ruby 2.2.1p85 Rails 4.2.5 We use ActionMailer to send notification emails. My old code that rely on ActionMailer and SMTP is: ActionMailer::Base.smtp_settings = { :...
Leon's user avatar
  • 8,371
0 votes
1 answer
178 views

Handle emails in a Rails 7 Multitenant Web App

I'm developing a multi tenant (with apartment gem) dashboard application with Rails 7. I've bought my own domain for the application but I have no email service yet. How does my app work? A customer ...
Bahl's user avatar
  • 43
0 votes
2 answers
575 views

Testing Mails queued with Sidekiq

Because we need to have the ability to schedule email delivery, we have migrated to using Sidekiq to send emails with the deliver_later method. Under the old regime that used deliver_now, our testing ...
Edward Caulfield's user avatar
0 votes
0 answers
23 views

How to record information about declined email invites sent from a rails app?

I am working on a rails app which sends out email invites to a bunch of users. In almost every situation, all the recipients do not accept the email invite. So is it possible to figure out the ...
Vinit Kumar's user avatar

15 30 50 per page
1
2 3 4 5
92