Displaying 20 results from an estimated 100 matches similar to: "Mailing error in Rails 2.3.2"
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi,
would someone please help me. I have been desperatley trying to fnd
out for the last two days why the following code is not working. Any
ideas.
I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version
1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version
1.3.5 / Windows XP.
Here is a description of my emailing application:
in
2009 Jun 15
1
NoMethodError: undefined method `password_reset_instructions' for UserNotifier:Class
Any ideas what would be causing this?
NoMethodError: undefined method `password_reset_instructions'' for
UserNotifier:Class
from /Library/Ruby/Gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/
base.rb:400:in `method_missing''
*** app/models/user_notifier.rb
class UserNotifier < ActionMailer::Base
def signup_notification(user)
setup user
subject ''Your new
2006 May 02
4
ordering after a inject
Hi,
My results are getting out of order after I do the following command:
count = result.inject({}) { |hsh, row| hsh[row[''name'']] = row[''count''].to_i;
hsh }
Why?
Here are more specifics:
My complete method is this (based off of acts_as_taggable code - not'' DHHs,
but the original one):
def self.sql_to_count_plays(lookback)
sql =
2011 Feb 18
1
samba ADS-based authentication fails with NT_STATUS_USER_UNKNOWN but wbinfo works
Hi
I've found a few list posts with this problem but none of their
solutions helped.
Apologies for the long mail but I've no idea which section of the
various logs will be the important part.
I've set up a RHEL5.3 server (with Samba 3.0.33) to authenticate to an
existing active directory realm on our local network.
The AD server is Windows-based and works fine for a couple of
1998 Jun 30
1
NT Crashes when doing large network file Xfers (3c595)
On Tuesday, June 30, 1998 2:25 PM, cmc@mind.org wrote:
>Something I'm actually familiar with. Wow.
>
>First off, the 3C595 card does *not* support full-duplex at 100mb.
>It supports 10mb at half or full duplex and 100mb at half duplex
>only! I researched this only 2 weeks ago, check on 3com's site if
>you're not convinced. Backing off to half-duplex won't fix this
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on
http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code
is based on the acts_as_taggable gem,anybody has done that using the
acts_as_taggable plugin?thanks!
btw:the code above uses the tag_count method,which is defined in the
gem:
def tags_count(options = {})
options = {:order => ''count DESC''}.merge(options)
2011 Feb 15
0
How to set content_transfer_encoding to something other than quoted-printable?
Hi all,
How do I set the content_transfer_encoding for mail with actionmailer
to something other than quoted-printable? It''s a setting with TMail
which action mailer relies on in rails 2.3.*. I am trying to set it to
utf8
I have tried:
- mail = TMail::Mail.new; mail.transfer_encoding = "utf8";
- setting the @header["Content-Transfer-Encoding"] in the
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups,
thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
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 Mar 01
0
Possible bug in ActionMailer (with patch)
I wanted to write the following code, with emphasis on adding my own
headers to the second part with the :headers parameter.
class ArticleMailer < ActionMailer::Base
def test_message
subject ''This is a test''
recipients ''elan@bluemandrill.com''
from ''Exemplary Products <info@example.com>''
2008 Mar 13
0
Template being ignored when attaching pdf in e-mail
The following code attaches my pdf with success. However, my e-mail
template is not being rendered in the e-mail. Any idea''s why my
template is ignored?
require ''pdf/writer''
class NotifierRequest < ActionMailer::Base
def inforequest(name, email, notice_request, message)
@subject = ''Notice''
@body = {:name => name, :email
2004 Sep 15
2
Routestopped
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I try to setup a bridge firewall base on http://shorewall.net/bridge.html
I''m using shorewall-1.4.10g-1.
I doublecheck on /etc/shorewall/routestopped file on my firewall, and
there is no "OPTIONS" options.
Should I use different shorewall version ?
Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
2005 Jan 16
1
Dovecot + Xmail Setup Howto
OK I finally found time to write this. (this is for dovecot 99.X and Xmail
1.X >= 1.17)
(in dovecot 1.0 it'll able to auth against Xmail via a auth script. aka
You'll only need to have 1 user account databases, XMAIL's YAY !!!)
Steps:
1. Install Dovecot. (rpm or Source)
>From Source : http://wiki.dovecot.org/CompilingSource
>From RPM :
2004 Aug 29
0
[Bug 1678] New: --link-dest doesn't create hard links on remote system.
https://bugzilla.samba.org/show_bug.cgi?id=1678
Summary: --link-dest doesn't create hard links on remote system.
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2005 Dec 24
10
can''t find view from Mailer?
Hi everyone,
Like so many other here, I too am new to Rails (and Ruby), and so far
it''s been a great experience. I haven''t been able to get around one
problem though. When trying to use the mailer, I recieve an error like
this:
ActionView::ActionViewError in Tell_friend#send_email
No rhtml, rxml, or delegate template found for send_to_friend
The scenario is this:
A form on
2007 Dec 29
0
should send_email always succeeds?
I wrote the following in my spec:
emails = ActionMailer::Base.deliveries
emails.length.should eql(2)
response.should send_email {
with_tag(''tr'', @contact_info[:full_name])
}
knowing that 1) an email is being sent; and 2) the contact info is in
a ''p'' tag and only in a ''p'' tag. The length expectation is met --
2008 Dec 04
3
The RSpec way of doing this? Need help on validating block
Hello, I''m back again with more questions about mocks and how to do good
testing in general. Let''s say I''m writing this EmailSender class and I
want to make it totally awesomely tested with RSpec. Here''s how far I''ve
gotten so far:
require ''net/smtp''
class EmailSender
def send_email
2005 Dec 17
13
Rookie with ActionMailer
To start out I''ll say that this is the first thing that I''ve ever built
that''s been intended to programmatically send email. I''m looking at
examples in AWR and also on the wiki. I feel that I sort of have things
set up right but I''m getting an error I can''t grok:
Net::SMTPFatalError in Home#email_list
550 5.7.1 Unable to relay for
2006 Nov 03
6
How to send data,
Hello,
First of all I''m new to working with sockets,
so the problems I''m having are probably because of my lack of understanding.
What I''m trying to accomplish is to create a mac os x client gui to ruby-debug.
When a application that includes ruby-debug is started,
it starts listening for 2 connections; 8989, 8990
The connection is made by calling the connectToApp
2001 Sep 20
4
DirectSound ?? WaveIn ?? MM ??
well i discoverd, HL uses waveIn, which is a part of the DirectSound ...
so ... is there a Wine binding for waveIN ?
-
-moritz angermann