similar to: ActionMailer configuration for Solaris and mailx

Displaying 20 results from an estimated 100000 matches similar to: "ActionMailer configuration for Solaris and mailx"

2011 Apr 15
2
ActionMailer - Setting Header Values - Version Issues
When I first started using Rails, actionmailer set email header values by assigning values to instance variables within a model method. There were some specific instance variables such as ''subject'', ''from'', etc. Header values for which there was no specific instance variable assigned could be set using the @headers hash. This hash could be used to set the
2012 Jul 06
2
ActionMailer::Base.deliveries returns array with duplicated elements in production env
Hello, I am testing for email sending from my app and I have a scenario that passes in test env but not in production. When I make dump of ActionMailer::Base.deliveries I saw that it returns array with duplicated elements in production env but not in test env. I am using sqlite3 for test env and mysql for production. Also I use delayed_job. Does anyone had the same issue? Thanks in advance :)
2012 Jul 08
2
How to add a content to an email created with ActionMailer. mail(..,:body) and do |format| either
Hello, I am using ActionMailer and rails 3.0.9 and I want to add a content to an email that the user has entered but when I write: mail(...,:body=>"Something") I can''t send the email. I tried mail(....) do |format|
2011 Jun 27
0
ActionMailer Problem
Hi, I wanted to send an attachment in mail. for testing , I have send png image attachement in mail. Mail delivery is completely working but the attachment in that mail show file name as "nonname" what should i do?? My code is: class SendMail < ActionMailer::Base default :from => "XXXX-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" def welcome
2011 Feb 18
0
ActionMailer: hostname was not match with the server certificate
Hi, I am setting up SMTP for my Rails 3 App. This configuration works. ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "mydomain.com", :user_name => "<username>", :password =>
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
I am testing a ruby 1.9.2 script (it''ll be run in a cron task later...) in which I am trying to use ActionMailer All my files are in a single folder ''joinus_email - joinus_email joinus_email.rb notifier.rb - notifications joinus_email.html.erb joinus_email.text.erb running the script joinus_email.rb, (in which I defined the
2010 Mar 26
6
installing ActionMailer from Rails 3?
Hi I''d like to use the new ActionMailer that comes with Rails 3, for a email reminder program I am writing. I am pretty new to Ruby, and would like to know how I can gem install this pre-release version, so I can start using it. Thanks for the help :) Alex -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default_url_options is deprecated, so I use config.action_mailer.default_url_options = { :host => "localhost" } in my environments (test.rb, production.rb, ...). The problem is, I get a deprecation error and rails won''t start. I have no solution... Any hints for me? Testing started at
2013 Mar 23
0
Rails4 and ActionMailer::Base.deliveries
Can someone who is working with Rais 4 verify if ActionMailer::Base.deliveries returning valid data or an empty set? I''m looking at the ActiveMailer source code and changelog and nothing jumps out at me. This is with the same code and configuration that worked for me in Rails 3.x but now with Rails 4.0.0.beta1 and Ruby 1.9.3p374. delivery_method is set to :test in both my
2011 Dec 14
7
Actionmailer woes
hi Guys I have now spent hours on this and turn to you in desperation. I am using Actionmailer to fetch emails, but I need to pass a userid to the receive method, so that the receive method knows what user to pass the email to. I tried: (ATTEMPT 1) class PokeMailer < ActionMailer::Base def receive(email,userid) ... end I then invoke the receipt of email with task =
2011 Dec 02
1
How to implement ActionMailer callbacks for rails3?
Hi, Is it possible to implement callbacks(like before_deliver :some_methodes, after_deliver :other_methods) with ActionMailer in Rails3? Please somebody help me or give me an idea :) Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3 but it I like to do it as callbacks -- Best Regards Abdul Barek Senior Software Engineer -- You received this message because you are
2010 Jan 25
1
ActionMailer does not find templates in production mode
Hello everyone, I am currently struggling with the following issue that only seems to appear in my production environment: When attempting to send a mail from an ActionMailer the template location algorithm does not seem to pick up the corresponding template: ActionView::MissingTemplate (Missing template event_mailer/approval_requested_notification.erb in view path app/views):
2012 May 06
3
ActionMailer Linode
Hi Guys, I created a mail server at Linode. I would like to configure my rails app to send mails using one of this mail accounts. Does anybody know any tutorial about how to do it? Thx Bruno Meira -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
1998 Jun 25
0
security hole in mailx
Hi there. I''ve discovered a rather serious security hole in mailx, the good old Berkeley mail program. It''s somehow present at least in the last versions I''ve checked (mailx-8.1.1 in Linux, mailx 5.0 in Solaris). The bug is an exploitable buffer overflow (using the HOME environment variable) that allows any local user to acquire the privileges under which the program
2009 Dec 10
1
ActionMail Charset for email body
Hi Guys, I succeeded in sending email with content-type big5. However, the content of the email is still utf-8! I''ve tried to call the t(:my_sentence).encode(''big5'') or my content, but there is "invalid byte sequence in UTF-8" errors in a lot of places starting from actionmailer/lib/utils.rb (text.to_s.gsub(/\r\n?/, "\n")) and it stop me from
2011 Mar 15
10
Set bounce address with ActionMailer::ARMailer
Hi all. I send out mails using ActionMailer::ARMailer, via an exim mailserver. Is there some header/field that i can set so that the reply field is (eg) webmaster-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org but bounced (ie undeliverable) mails get sent back to (eg) noreply-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org? thanks, max -- Posted via http://www.ruby-forum.com/. -- You received this message
2010 Mar 02
1
localized host in ActionMailer Views
Hi, I''ve got some domains , lets say example.com and example.de and I want that the link in a ActionMailerView contains the correct localized host e.g. with <%= @root_url %> . Currently the host is set in the environment.rb with "config.action_mailer.default_url_options = { :host => "example.com" }". How can I set the host dynamically and localized?
2010 Jun 01
1
SMTP Configuration in Rails 2.3.4
Hello Everyone, I have a problem with SMTP configuration for my application. Previously I was using Rails version 1.1.6, and the SMTP settings would be configured in environment.rb as follows: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "localhost", :port => 25, :domain => "HELO" } Now, my new application is
2011 Apr 22
0
ActionMailer : Not able to send out mails
Hello, I have the following code in my environment/development.rb config.action_mailer.raise_delivery_errors = true; config.action_mailer.delivery_method = :smtp; config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :user_name => "my_id-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :password => "secret",
2011 Jul 28
14
Actionmailer Help Needed
Hello everyone, Nice to meet you all, am new to the forum. I''m stuck with rake / actionmailer trying to display a set of found records. We have a simple actionmailer rake task that is supposed to send a daily email digest of tasks that are due for a specific user. So far, it''s working but the email only displays the first message. In my task model scope :tasksdue, lambda {