similar to: accessing bcc recipients in ActionMailer view

Displaying 20 results from an estimated 50000 matches similar to: "accessing bcc recipients in ActionMailer view"

2008 Sep 02
2
Actionmailer - Multipart and Outlook?
Hi, I''m having issues with getting a consistent result with the emails I am sending using Actionmailer. Problem: Emails that I send with plain text, rich text, and attachments do not display the same results across GMail, Yahoo, Outlook and Thunderbird. Scenario: I am sending an email with text/plain, text/html, and 2 attachments using the code below, and I''ve specified the
2008 May 03
2
ActionMailer Multiple recipients
I am using ActionMailer to send mails. I want to send mails to multiple recipients which I get from a view. Here is the controller code. def groupcorres user = User.find(session[:user_id]) address = Array.new lines = Array.new args = params[:id].to_s # params[:id] is an array of user screen name. ex: j_doe, d_john lines = args.split(",") for line in lines
2006 Apr 01
4
problems getting ActionMailer working (on server)
Hi, I''ve read the Agile Rails book''s chapter on ActionMailer a few times. Seems pretty straight forward. Unfortunately I can''t get my application to actually send mail. I uploaded my application to the web server and tried to get a mail message sent. Nothing happened. I looked in the log file and it says Sent mail: From: service@freedomkilts.com To:
2006 Dec 29
1
ActionMailer view overwriting ActionController view?
Hi All, Accidentally posted this in comp.lang.ruby, now trying again in hopefully the right place: I''m having a bizarre problem. I have a page that let''s you share a link from the current page with other users. You can share with other users of the site (by selecting them from your list of friends) or arbitrary users by entering e-mail addresses. In both scenarios the site
2013 Apr 21
1
Sieve - BCC
Hi ! Can you help me please with sieve plugin for dovecot I have this rule: /require ["variables", "envelope", "fileinto", "subaddress", "imap4flags"]; if anyof ( address :is [ "to", "cc", "bcc" ] "test at example.com", envelope :contains "to" "test at example.com"
2006 Oct 31
3
ActionMailer how to check mail sent
OS X 10.4.8 I am sending an email via Actionmailer settings are written correctly in environment.rb ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.raise_delivery_errors = :true ActionMailer::Base.perform_deliveries = :true ActionMailer::Base.default_charset = "utf-8" ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25,
2019 Mar 13
0
recipient bcc and dovecot
Add mail_location setting or return 'mail' from userdb. Aki On 13.3.2019 5.53, @lbutlr via dovecot wrote: > I have a recipient_bcc_maps which contains a bcc map that is updated everyday: > > rbcc.pcre: > if !/backup.*@/ > /^([^+_]*).*@([^.]*)/ backup+071.${1}-${2}@adomain.tld > endif > > the 071 portion is changed each day to the current day of the year. >
2008 Jul 17
2
Passing array to the email body using ActionMailer
Hi, all I am new to actionmailer. I am writing a script that sends emails contains lots of file names. So the email will look like: hi, filename1 filename2 filename3 . . . filenameN So I want to pass an array containing all the filenames into the email body. My code is below: class Notifier < ActionMailer::Base def log_report(recipient, files) from
2019 Mar 13
2
recipient bcc and dovecot
I have a recipient_bcc_maps which contains a bcc map that is updated everyday: rbcc.pcre: if !/backup.*@/ /^([^+_]*).*@([^.]*)/ backup+071.${1}-${2}@adomain.tld endif the 071 portion is changed each day to the current day of the year. Everything works, but I get an error from dovecot on every message: lda(backup at adomain.tld): Error: User initialization failed: Namespace '':
2006 Feb 26
0
ActionMailer view templates don''t pick up application_helper.rb?
It seems that helper methods defined in application_helper.rb aren''t available in ActionMailer views. Is that intentional? -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [ http://www.everylastounce.com ] [ http://www.aquick.org/blog ] ............ Blog [ http://www.adamfields.com/resume.html ].. Experience [
2006 Jun 20
5
ActionMailer to send to multiple people
I''ve been working with ActionMailer for a few days and finally have a pretty good grasp of it. In the book I''m reading, it shows how to send to multiple users or an array of users. Is there a setting or some configuration I can do to send the email to each person separately, or would I just need to loop through each user and send one email at a time? What is the best way to
2008 Apr 09
0
Understanding ActionMailer::Base.new
While writing a small plugin I stumbled upon this strangeness. I have TMail objects stored in database for process that sends them out whenever needed. Obvious way of sending them out would be calling ActionMailer::Base.deliver(my_mail_object) That works just fine. However I have method chain hooking into instance method deliver!: alias_method_chain :deliver!, :something_crazy so I need to
2020 Feb 21
1
bcc tools and bpftrace packages misbuilt?
After upgrading to 8.1.1911, bcc-tools and bpftrace seem to be broken. Current package versions I have: bpftrace-0.9-3.el8.x86_64 and bcc-tools-0.8.0-4.el8.x86_64 Both of these seem to be pulling in LLVM version 7, rather than the version 8 that is in 8.1.1911: [root at localhost ~]# bpftrace bpftrace: error while loading shared libraries: libclangFrontend.so.7: cannot open shared object file:
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all, I''m having trouble with this simple email class I made for postbacks. When I run this from the command line an email is sent, however when I access this .rb file through a browser nothing happens. ------------------------- #!/usr/bin/ruby require "rubygems" require "action_mailer" ActionMailer::Base.delivery_method = :smtp
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site. Here''s my code, if you don''t mind, could you tell me if you see something wrong? #environment.rb # Include your application configuration below ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain =>
2007 Aug 10
1
ActionMailer and Dreamhost
Hello, I am running my RoR app on localhost and am trying to implement ActionMailer. In my environment.rb config file, I am pointing to my smtp server on Dreamhost: ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.server_settings = { :address => ''mail.domain.info'', :port => 25, :domain =>
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below: Model: order_mailer.rb class OrderMailer < ActionMailer::Base def send_an_email() @recipients = "myadress@isp.co.uk" @from = "myaddress@isp.co.uk" @subject = "Ruby Test" @body = "The Body" end end View: send_an_email.rhtml <p>Email was sent!.</p> Controller: Admin.rb def
2009 Mar 25
1
I18n + ActionMailer = conflict ?
Hi there, can anybody tell me why I get the error message: "undefined method ''t'' for #<Mailer:0xb6d501e0>" ... when I call the following Mailer? ================================= class Mailer < ActionMailer::Base def signup_notification(user) @recipients = "#{user.email}" @from =
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~ I have a working ActionMailer Action that takes the template to use as an argument so I have one action that handles multiple emails. The email sends just fine, and the correct email templates are used, but ActionMailer is throwing in its own text/plain section in addition to the one I specify. Does anyone have any ideas on why this might be occuring, when I am specificially specifying