similar to: How to: Individualized mass email with ActiveMailer - separate thread?

Displaying 20 results from an estimated 110 matches similar to: "How to: Individualized mass email with ActiveMailer - separate thread?"

2006 Jul 11
0
ActiveMailer HTML + Plain Text + Attachment?
How do you do this? Tried all the examples on the wiki, and unfortunately the trac is not accessible right now to check the trouble tickets. No matter what I do the mime structure seems to be incorrect. It seems that adding an attachment to a html+plaintext message is not possible using the standard methods. I have seen some old posting on the mailing list about overriding the deliver method
2006 Apr 03
1
Helpers for ActiveMailer templates
What helpers, if any, should be available to a view for ActionMailer? Even ApplicationHelper methods don''t seem to be available. This is on Rails 1.0. David
2010 Apr 08
1
reshape panel data
I have a data set with observations on 549 cities spanning an 18 year period. However, some of cities did not report in one or more of the 18 years. I would like to implement the procedure suggested by Wooldridge section 17.1.3 in his "Econometric analysis of cross section and panel data" to correct for attrition. For example the table below indicates that the 3rd and the 7th cities in
2006 Jun 07
4
Setting default timezone ENV[''TZ'']=''UTC'' not working on windows?
Hi, I''ve been trying to do timezone conversion, and have some trouble getting it to work on my Windows machine. Searching the web, I found http://wiki.rubyonrails.com/rails/pages/HowtoSetDefaultTimeZone ...which explains how to set the default timezone. I''m using an environment.rb that include the lines: ActiveRecord::Base.default_timezone = :utc ENV[''TZ''] =
2006 May 16
4
question about strftime when called from partial.
Hi, I''m calling a helper I''ve written - format_time() that is called from my views with a given time that was selected from my database and was returned to the view via an instance variable. When I call format_time from a partial, I see that I get some kind of String error and the partial won''t render. Basically, the object being passed in to format_time is already a
2006 May 13
1
undefined method `strftime'', being called from a partial.
Hi, I''m having an issue with calling a function that I''ve defined in ApplicationHelper called format_time: module ApplicationHelper def format_time(time) time.strftime("%a %b %d, %I:%M%p") end end I use this function in my views to format the Time.now that I would have stored in my tables as a DATETIME. I''m able to use this function, without any
2006 Jan 05
2
how to use a helper which is not inside app/helpers/
Hi, I wish to know it is possible to use a helper which is not inside the folder ''app/helpers'', if it is possbile, what should I do? Thanks you very much!!!! Saiho __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
2006 Jul 24
5
Actionmailer sending many emails in same SMTP connection?
Hi, I need to implement a mailing list system, Actionmailer is great, but i haven''t found out a way to send many (hundreds of) emails without having to reconnect to the SMTP server for each mail when calling Mymailer::deliver_my_mail(recipient) Any tips? (Possibly without calling directly Net::SMTP, so i can take advantage of the rhtml rendering of the body) Thanks, Best regards,
2008 May 06
2
Can you use RSpec to test initializers?
Hi there! I''m trying to spec out some code that will set the smtp_settings in a custom ActiveMailer object. Basically I want to check that if my configuration object has the right smtp_server, that the ActiveMailer object gets set up correctly. So, my spec looks like this: it "uses smtp server if config says so" do
2006 Jan 09
5
Formatting timestamp objects
I want to print my timestamp objects in a specific format. I want to print a date like this: Sunday, January 8 2006 I don''t want it to print January 08. For the time, I want it to look like this: 9:08 pm Not 09:08 and lower case PM. I created these methods: def format_date(date) date.strftime("%A, %B #{date.day} #{date.year}") end def format_time(date) if
2007 Mar 03
1
Mailing lists in rails?
I have a client that wants to send out a mass email to all of the registered users. I figured I would use ActionMailer for this, but is this suitable for mass emailing? Or is there another solution or a better way to do this? Thanks for your help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Mar 13
2
Verify E-mail Delivery
Are there any services or ways of verifying that an e-mail is reaching its recipient? I am using ActiveMailer and it works well but I may need to start ensuring that e-mails are delivered to the address specified. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi. I am pretty new to ruby (and those gems) and rails.. Until now I thought that all rails application have some kind of integrated version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in Rails 3). And therefore I thought that having Rails 2 and Rails 3 in the same gem repository (in my case gemset under rvm) wouldn''t be a problem. But during installing
2005 Sep 14
9
Sending Emails via Cron
I''m developing an application using RoR that will generate enough email notifications that I don''t want them in the actual web application. So, I''m thinking about having an outgoing queue that a cron job would pick up and deliver. My question is if this is possible with a ruby script that uses ActiveRecord and ActiveMailer?
2007 Feb 15
1
Has anyone run function tests on ActionMailer?
I am running function tests to see if ActionMailer mails out an email. I have two development machines, both with rails 1.1.6. On one machine, the ActionMailer::Base.deliveries array resets itself after each test. On the other machine, the array keeps accumulating the emails from the previous function tests and doesn''t clear out the array after each test. Both machines have identical
2008 Apr 25
6
ActionMailer
Hi all, I need a help. I have got a user registration form, where the user signs up and then an activation link is sent to the user email id for activating his/her account. Now I need to send an another email to the user, only after he logs in for the first time in my site, then the second email should be sent. Can anybody give me some suggestion on how to do it ?? NB: When the user clicks on
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks like some emails are never sent because something breaks when sending it. It is a small quantity but can''t even have one drop. Browsing through the list I saw that one person had the same error as I did but in his case he couldn''t send any emails and in the end he needed no authentication at all.
2006 May 15
6
Getting Net::IMAP to work with PLAIN auth type...
Hi there, I''m new to rails and I''ve been successful tinkering around but am miffed by the process of trying to connect to my mail server to receive email for ActiveMailer parsing. I''m hosted on TextDrive and have read the following article on the RubyonRails wiki: http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer. I want to
2006 Jul 18
1
Gmail for your domain and actionmailer
Hi, everybody somebody knows like config actionmailer to use it with gmail for your domain. thanks. -- Juan Pablo Re. blog: http://ururails.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060718/b2435a9a/attachment.html
2006 Apr 20
0
How to pass the body of the email while sending the email
Hi, Can anybody help me out with this problem.I am using ActiveMailer of Rails to send the email.I am able to do that without any problem but while sending the email i want to send the body of the message and would like to retrieve it in the confirmation email.I am not saving the entire body message in the DB,so can anybody suggest me how to do this. Thanks, Chandra. -- Posted via