Displaying 20 results from an estimated 20000 matches similar to: "Sending files other than html via Actionmailer"
2006 Mar 08
4
Sending Documents via ActionMailer
Hi,
I''ve been trying to set up to send already generated PDF''s via the
ActionMailer class however it dosn''t seem to send the full file. So when
I try to load the file after being sent it via email it dosn''t because
it is corrupt. When I choose to send HTML instead it sends fine but it
dosn''t work with Word Documents either
Do I need to do anything
2005 Nov 07
0
Using Layouts with ActionMailer when sending html formatted emails
Hello all, I''ve been spinning my wheels on a problem here, hope someone can
help me out. I''m pretty new to Ruby & Rails. I''ve added some email
capabilities to Typo. Its all finally working for the most part, however I
don''t know how to get the layout specified. I am calling the Mailer class
method to send the email from within the articles controller (for
2006 May 21
3
Sending mail times out (ActionMailer)
Hi!
I''m on debian. Sending a mail from Rails times out:
Timeout::Error (execution expired):
/usr/local/lib/ruby/1.8/timeout.rb:54:in `new''
/usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open''
/usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout''
/usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout''
2007 Mar 28
0
mail sending problem with ActionMailer
hi friends,
i have written settings in environment.rb as follews and have created
necessary models and views for sending mail but mails are not sent.
please help me.
environment.rb coding
~~~~~~~~~~~~~~~~~~~~~
ActionMailer::Base.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
ActionMailer::Base.default_charset =
2008 Feb 19
2
sending mail [not the ActionMailer way?]
Hi folks,
I''ve recently stepped away from PHP web dev and I''m trying out ROR now.
I like it so far. But there''s something I cannot figure out on my own.
Searching on the API of ROR and Google about the possibilities of
sending emails with ROR only gave me the ActionMailer way of sending
mails. What I want to do is to send a mail where the body is submitted
by a user.
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
2009 Mar 27
0
ActionMailer multipart: html, plain and attachment?
Has anyone gotten emails to work where you specify the HTML and the
plain text alternatives, but also include an attachment?
Reason I''m asking: I''m sending out event notices, styled as HTML but
with a plain text alternative. I also want to attach the .ics file.
For some reason, I can''t get this to work. If I explicitly put in
"multipart/mixed" (to support the
2006 Jul 21
3
ActionMailer doesn''t send any mail
I''ve configured actionmailer following the documentation, adding to
environment.rb everything for using my mail account on yahoo using
deliver_* methods to send a mail.
I can see the mail in development.log and everything seems fine, but
no mails so far.
Is there a place where can I see what the server answered, or
something to look at to solve the problem ? I have no clue,
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 Jun 23
1
ActionMailer Fails To Send Emails Post Authentication
I am trying to send emails via actionmailer.
It was working fine before and now suddenly what was working is no
longer working!
I have one version of the application running in production and whenever
I try to run it in production I get the error No connection could be
made because the target machine actively refused it. - connect(2) (see
details in the attached text file)
Now when I try to
2009 Mar 06
5
ActionMailer Layout on HTML version not Plain Text
I''m sending plain text and html emails by having multiple files for each
email I send. For example, for my registration email I have a
registration.text.plain.erb file and a registration.text.html.erb file.
I want to use a layout for the html version of my emails. In my mailer
I put:
class AccountsMailer < ActionMailer::Base
layout ''email''
...
end
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
2006 Nov 26
0
send email using Actionmailer => error 500 gets rendered :/
I''m experiencing the strangest problem with actionmailer.
The following code reults in a 500 server error.
---
UserMailer.deliver_register [some arguments]
render :partial => "validate_email" , :status => 200
---
The strange thing is, Actionmailer sends the email just fine. But
instead of rendering the partial, a 500 error is being returned.
I''ve also tried to
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 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 Jul 22
0
how to apply before/after_filter to actionmailer
hi,
I want to perform some action before/after each email was delivered.
How can I apply before/after_filter to actionmailer?
Thanks.
Best Regards,
Zhenjian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060722/8f014133/attachment.html
2006 Jan 16
1
ActionMailer Funkiness
I spent today getting a mailer setup locally. Everything was well so
I commited my changes and went about making sure it was working on
the production box. Well, it wasn''t. Here''s the setup. I have a
method in my Statistic model that send the mail through a method in a
mailer. I am using script/runner to send this mail periodically.
When I use this:
-----
script/runner
2006 Oct 17
1
Issues with sending HTML-mail
Hi,
Im running an application sending quite a few emails to members. Im
building the emails with your every day ActionMailer builders, setting
the content_type to "text/html" and charset to "utf-8".
Now im hearing reports from some of our members that the emails show up
as plain html-text in their clients. One such case is a user running
the DWmail web based email client.
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