similar to: Using image_tag in Action Mailer???

Displaying 20 results from an estimated 10000 matches similar to: "Using image_tag in Action Mailer???"

2006 Aug 04
5
image_tag + ActionMailer
Hi, Any idea why image_tag doesn''t work within an email template? I''m trying to generate the URL for an image and I''m getting the following error. undefined method `request'' for #<Mailer:0x6a719e0> I''ve been able to use link_to but no luck with image_tag. I''ve seen a similar post to this in the list but no one has posted a response.
2007 Aug 13
1
link_to image_tag puts a box round my image
I''ve got a rather long conditional statement that either displays a link_to(image_tag(blah)blah) or just an image_tag (i''ve edited it a bit to show the structure): <%= (article.score_from_user(:user_id => session[:user]) != -1) ? (link_to image_tag("/images/down_arrow_grey.jpg", :alt => "down"), :controller=>"article", :action =>
2006 Jan 04
1
[BUG?] image_tag
i''ve got the latest ruby and rails on this box and am seeing that image_tag will turn something like /foo/bar.jpg into /foo/foo/bar.jpg in the following situation: /ror/foo/public /var/www/html/foo -> /var/ror/foo/public/ image_tag("/foo/bar.jpg") this is exactly how compute_public_path is written to work: def compute_public_path(source, dir, ext)
2006 Nov 04
6
image_tag keeping add ???? after the url it generates
hi, all, I have a problem with image_tag, the url it generates keeps adding ???? at the tail. e.g. src="/images/gicon.jpg?1153577588??????????" src="/images/gicon.jpg?1153577588?????????????????" I''ve checked the source code of image_tag, and couldn''t find any solution. The ???? is appended to the "source" parameter before it goes to the real
2010 Jan 30
0
Action Mailer: All mail comes from MAILER DAEMON
Action Mailer: All mail comes from MAILER DAEMON. host on slice with postfix and google app. any idea? Please help. Thanks. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2007 Jun 17
1
actionmailer & picture
Hello I''m using action mailer to create an HMTL outbound email. This email renders a partial. In that partial, a call is made to a public location to get a picture for display in the email. When this email is generate, I get the following error (note: I''m sure it has something to do with not understanding the context of actionmailer and how it functions): NoMethodError in
2006 May 24
1
ActionMailer (Action Mailer) Template not found? Help!!
I have been going around on the Internet about this all day and found absolutely nothing that seems to fit this problem. I have a mailer named "Notifier" -- in fact I have been using the EXACT code from the "Agile Development With Rails" chapter on "Sending E-Mail", pp. 411-416, except for my names (mailer named "Notifier", emailer method named
2006 May 30
0
url_for_file_column and image_tag not working right together
i just got file_column working and i love it. but i''m having some problems with the urls. my application is not in the base directory, it is in a folder called "/testapp". when i use "image_tag" with "url_for_file_column", i get this path: /testapp/testapp/entry/image/3/myimage.jpg the image is located at: /testapp/entry/image/3/myimage.jpg to see if
2006 May 30
2
No rhtml, rxml, rjs... problem with Action Mailer, again
Hi all I have seen a lot of people writing my same problem but I haven''t found the solution yet. This is the problem: "ActionView::ActionViewError in Periodico#index No rhtml, rxml, rjs or delegate template found for..." when trying to send email through action mailer. I have created the Notifier.rb model (in app/models/ folder) def signupthanks(user) # Email
2012 Dec 05
0
Action Mailer 3.2.9 retruns duplicates in deliveries array
I am extracting a standalone batch application from a Rails 3.0.1 project. This requires only ActiveRecord and ActionMailer. In my testing I set ActionMailer::Base.delivery_method = :test This causes the mail to be delivered to the ActionMailer::Base.deliveries array. However, I am getting two of the test email messages placed in the deliveries array instead of just one. For example:
2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
i want to send multiple emails: #my Controller def send_email if params[:group_ids] groups = Group.find(params[:group_ids]) # creates an array called ''groups'' that looks like : [{:id => 1, :title => ''yediot''}, {:id => 2, :title => ''maariv''} ] --- [ 1, 2 ] else groups = [] end names = [] emails = []
2007 Oct 18
0
cruise control rb mailer / Action Mailer
I am getting this error message when the mailer tries to execute TLS not available after start at /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' any one have any idea whats going on here -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {}) Ok, when I want to use an image I added the following code: <%= image_tag "dsf.jpg" options = {[align="right", style="padding-right: 10px; padding-top: 5px;"]} %> However, this doesn''t seem to work, it doesn''t like how I have the "options" part setup. I''m sure there is something very easy
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact form on a website. I am using a table-less model to validate the form contents, then trying to use the Action Mailer chapter of the "Agile Web Development with Rails" book as a pattern to develop the send e-mail portion. I am having trouble getting it working and was hoping someone could point me in the
2008 Sep 09
6
Prioritizing Mailer Queue / Action Mailer
Hi, I have different kinds of mails going out. For eg: 1. signup 2. notification mails etc I am using mailer queue to avoid mongrels waiting on email to be sent. However, it makes sense to have signup mails go instantaneously whereas other mails can go to mailer queue. Has anyone done such thing? Any suggestions please? Regards, SG -- Posted via http://www.ruby-forum.com/.
2009 May 17
1
action mailer on my local computer
hi guys i am newbie in ror. i wanna test my simple ror application on windows xp. i use Webrick as my web server. i don''t know how to configure my action mailer for sending email to another addresses? config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => ''localhost'', :port => 25, :domain => '' '',
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve looked every where. I''ve also done the tuts. but, they don''t work for me. Thanks... -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
0
URLs not working in Action:Mailer emails
When I include my website address in emails generated by Action Mailer they look OK but don''t actually work. e.g. looks like www.mywebsite.com but the actual URL is x-msg//79/www.mywebsite.com What''s this x-msg//79 ? And how do I get rid of it? -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
0
Action Mailer and ApplicationHelper method
Hi, sorry if this has been asked before, but I couldn''t find any info. Is it possible to use application helper methods in ActionMailer templates (or methods, in case this is the only way)? All I found is one statement in the agile web development book, that ''the regular helper methods, such as truncate(), are available''. Is there any overview which helpers are
2006 Mar 24
0
Embedding swf files in emails to be sent via Action Mailer
Hi, Is there anybody who can tell me if its possible to send swf files in an HTML email via Action Mailer. I gained success in sending basic HTML mail but couldnt send embedded swf files. Instead, the mail client at the recipient end shows a blank mail when I send the swf file with <object> and <embed> tags. Any help would be appreciated. Thanks prasad, Email to me at: