Displaying 20 results from an estimated 900 matches similar to: "Sending Documents via ActionMailer"
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
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
2006 Mar 09
0
Sending files other than html via Actionmailer
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 special
2007 Dec 08
6
Rails 2.0 ActionMailer breaks my redmine render_message
I am using ''redmine'' (v 0.6) as my major project manager, seems running
fine w Rails 2.0 (slight modifs for paginations..) but I am stuck with a
major error when sending a confirmation email :
mailer.rb
class Mailer < ActionMailer::Base
....
# Renders a message with the corresponding layout
def render_message(method_name, body)
layout =
2013 Sep 26
2
Login Problem
Hello All,
I am getting a problem while login for inactive users.
While login I am getting -
Processing by Devise::SessionsController#new as HTML
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2
LIMIT 1
Redirected to http://localhost:3000/
Filter chain halted as :require_no_authentication rendered or redirected.
Inactive users
2006 Apr 20
5
Integrating with Legacy Databases
This seems like it must have been asked before - I really _did_ try to
find it in the archives, so my apologies if it''s already out there.
Utilizing ActiveRecord, I would like to specify a prefix for the
column names in my table. For example, in ''Recipe 16 Integrating with
Legacy Databases'' (Rails Recipes, from PragProg, by Fowler) they deal
with integration with a
2008 Nov 30
4
ActionMailer weirdness: bad html '=3d' for all '='
I am getting html output in my email body with spurious characters
that cannot be rendered, so that my links are not handled properly.
What am I not getting here?
My email body contains:
-----------------clip-------------
<A href=mailto:"<%=h(''support-t1rxLZ7CIXjQT0dZR+AlfA@public.gmane.org'')%>?
Support">Support</A><br/>
with any
2006 Nov 06
4
Updating the index.
I''ve been reading through the lucene, ferret, and aaf docs, but I''m
still a bit new at full text indexing.
When I create a new instance of an indexed model, and save it, it
doesn''t show up in searches. Should I have to update the index of the
entire model (which works) before it will return in queries?
Britt
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like
ActionView cant find my template. same code works as a rake task.
here my worker:
class StatusMailWorker < BackgrounDRb::Rails
repeat 1.minutes # <-- hehe!
def do_work(args)
[...blah...]
NotificationMailer.create_daily_report(users, rep, items)
end
end
end
its throwing the following error:
No
2007 Apr 04
2
Newbie: Simple loops: complex troubles
I am used to java (well, i dont remember it really well, but anyway)
I have having a really difficult time making simple loops to work. I got the
following to work:
##
##Creates objects Ux1, Ux2, Ux2 etc. that all contain n numbers in a
random distribution
##
m<-c(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10)#these are defined as numbers (means)
v<-c(v1,v2,v3,v4,v5,v6,v7,v8,v9,v10)#these
2008 Mar 05
14
[Stories] Login and subdomain
I''ve just begin using rspec stories, and i m encountering some
problems. In my application i have different subdomains in which
specific users can log in, for example an admin will go to
admin.myapp.com/authenticate/login, and an user belonging to a
specific company will log in company.myapp.com/authenticate/login, and
of course both have a different login process.
To perform some
2002 Apr 04
4
[Bug 204] Authentication fails when username contains an at-sign
http://bugzilla.mindrot.org/show_bug.cgi?id=204
------- Additional Comments From britt at yenne.net 2002-04-04 18:49 -------
Okay, commenting out those lines definitely solved the problem. The pty issue
happened because I didn't configure with PAM, and evidently Ensim has done
something sneaky there.
So, definitely a problem.
-britt
------- You are receiving this mail because:
2009 Nov 04
11
Sending Mails with mutations ä,ü,ö
Hi everyone
I am sending mails with rails in German. The Problem is that the German
letters ä,ü,ö are arriving correctly at the receiver.
When the subject contains the word
Für
the receiver gets
Für
Does anybody knows this issue?
Thanks in advance.
Adam
--
Posted via http://www.ruby-forum.com/.
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows.
Example:
I want to test that a certain controller is running a before_filter...thats easy:
- controller.should_receive(:require_user)
- do_get
But now i''ve got to mock / stub
2012 Nov 21
2
Spider Graph
Hi,
Is the stars command in the base package or do I need to download?
I am looking to make star/radar/spider charts.
Thanks!
Britt
Britt Aronovich
Marketing Analyst
BAM (Brooklyn Academy of Music)
...
Peter Jay Sharp Building
30 Lafayette Ave.
Brooklyn, NY 11217-01486
...
P: 718.724.8038
E: baronovich@BAM.org<mailto:baronovich@BAM.org>
BAM.org
Facebook.com/BAMstage
2006 Feb 03
2
all.equal() and which()
Please excuse the lack of a complete dataset here, if its needed I'll be
happy to provide it.
Can anyone show me how to rewrite this?
Browse[1]> time(data)[24210:24220]
[1] 24.209 24.210 24.211 24.212 24.213 24.214 24.215 24.216 24.217
[10] 24.218 24.219
Browse[1]> which(time(data)==24.211)
numeric(0)
I'm assuming its an eps fault but
which(all.equal(time(data),24.211))
dosnt
2011 Mar 11
1
Using dovecot with wordpress/phpass passwords?
Good afternoon,
I am trying to setup dovecot to authenticate using the userdata from wordpress.
It's being a bit mor difficult than I thought. This is the relevant
part of the dovecot-sql.conf
default_pass_scheme = CRYPT
password_query = SELECT user_pass AS password FROM wp_users WHERE
user_email='%u';
user_query = SELECT 501 as uid, 501 as gid,'maildir:storage=51200' as
2015 Jun 19
2
Samba rebind user@email.com to user_email.com
Hello List,
I'm dealing with the following issue here:
https://forum.zentyal.org/index.php?topic=25300.0
Although it starts with OpenChange, it ends with Samba4 so I very much hope that somebody on this list can help me out.
Basically I try to authenticate users through the Outlook autoconfigurator using RPC-OVER-HTTP to a samba server. The problem is that in Samba4/LDAP I cannot have
2005 Jun 09
8
RDoc Dashboard Widget
Hi everyone - sorry if this is a bit OT, I''m not subscribed to the
''ruby-talk'' list, but if anyone wants to cross post this over there...
This is just a quick announcement to let people know that I''ve built a
basic RDoc Dashboard widget for Mac OS X Tiger. It''s still beta-ish,
but seems to work okay for me - and it''s a convenient reference