similar to: can''t find view from Mailer?

Displaying 20 results from an estimated 200 matches similar to: "can''t find view from Mailer?"

2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi, My mails were working with the earlier version of rails ie. Rails 2.0.2. But recently when i upgraded my environment to 2.3.2 the mails stopped working and gave "Error: End of file reached". But if i send mails independent of my rails app the mailing code works fine. My Environment: Windows Xp Ruby 1.8.7 actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource
2012 Oct 08
11
Problems setting gmail mail
Hello, as attachment my problems concerning gmail Mailer errors in Rails. I hope anyone can help me out with the problem? If there is extra information needed, please tell me what you need more to help me out of my problems! Greetings! Attachments: http://www.ruby-forum.com/attachment/7790/errnoECONNREFUSED.jpg -- Posted via http://www.ruby-forum.com/. -- You received this message
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
2007 Dec 11
1
501 Syntax: HELO hostname - Mail problem
Hello... I am encountering a problem sending emails from Windows using an extermal smtp server. When attempting to send out the email, the following error is returned: 501 Syntax: HELO hostname I have checked the format of the emails, and they are ok. It seems it''s choking right at the begging of the connection to the smtp server, when my computer needs to identify itself by sending
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
2006 Jan 30
5
Action Mailer woes
Hi gang, Im having my first stab at ActionMailer and not having any luck. Perhaps someone could help me out. I generated a a mailer called ItemMailer - its purpose is to take some information that I''ve already gathered in a ToDo list form and to mail it out to the person who is nominated for the task In environment.rb I have; ActionMailer::Base.server_settings = { :address =>
2008 Mar 17
2
Dynamic actions and views
Hi, I have a set of messages stored in the db. These are email messages that I have to send based on some condition. This is not the way I had been doing all these days. I used to create an action in my controller (class Notifier < ActionMailer::ARMailer) and then create an rhtml file with the email content and then say Notifier::deliver_my_email_message to send out the emails. But now that I
2008 Jan 18
0
ApnaCircle Invite for Online Social and Professional Networking Site
[1]ApnaCircle.com Online Social & Professional Networking Site [2]Make Freinds Earn Rewards [3]ApnaCircle.com gives you a valuable platform to make friends & professional contacts for mutual benefit. And you get points for joining ApnaCircle & redeem points against
2007 Dec 13
1
session.send_notification for emails
Hey All, I am wondering if anyone has done any work around sending emails through the API. It looks like facebooker is using part of a deprecated API, Notifications.send used to take an email part. They now have a Notifications.sendEmail call which will take recipients, subject, text part and fbml part. Looking at the code it seems like I need to add a method to the session
2006 Apr 21
1
Question on Active Mailer
Hi I want to create send emails to users as soon as a product is created; So I created scaffold for Product and before as soon as I do the save I call my send_email method in another controller; Now I want to pass on the Product record we created. I tried sending the product as @product, :product,etc. (tried all) and none work; my idea is to get the product record and put it in the email
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys, Facing a weird error . Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2) It seems to be happening with mail sending mail . I am using AUTHSMTP to send mails . Unable to send mail and the app breaks . Any help will be appreciated . Same code worked with ruby 1.8 and rails 2.3.x . *Configuration* Rails 3.2 Ruby 1.9 Engineyard , Linux Instance *Backtrace :*
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys, Facing a weird error . Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2) It seems to be happening with mail sending mail . I am using AUTHSMTP to send mails . Unable to send mail and the app breaks . Any help will be appreciated . Same code worked with ruby 1.8 and rails 2.3.x . *Configuration* Rails 3.2 Ruby 1.9 Engineyard , Linux Instance *Backtrace :*
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a side-effect, sends an email to an administrator. I want it to do something like this: specify "when someone successfully signs up, an email should be sent to the administrator with the person''s contact page" do post :signup, {...lots o'' params} response should_be success #
2010 Jan 24
2
ReceiveFAX and SendFAX questions
Morning, Have some questions regarding receiving and sending faxes... 1:st example: exten => 101,1,Answer() exten => 101,2,Wait(3) exten => 101,3,ReceiveFAX(/var/spool/asterisk/tmp/fax.tiff) exten => 101,4,System(tiff2pdf -p A4 /var/spool/asterisk/tmp/fax.tiff > /var/spool/asterisk/tmp/fax.pdf) exten => 101,5,System(mutt -s 'New FAX for you sir' -a
2007 Jul 29
0
Reading an email from an mbox file and resending to a different address without modification
Greetings, I''m trying to emulate the "Redirect" function of some email clients but am not having much success. I am sending messages with ActionMailer templates just fine so I''m pretty sure my environment is set up correctly and that my mail server is accepting the messages to relay. I am reading messages out of an mbox file and parsing them into RMail objects with
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 --
2006 Jan 12
3
ActionMailer bug?
Hi , I have actionamailer working properly with a template and a model for creating the mail object etc. The whole thing works correctly if I use Webrick.but when I use it on Apache,i get the error which says "template missing".rails is unable to find the template for the mailer object.Hasanyone noticed this? Vivek PS:I am still not using the 1.0 version -------------- next part
2007 May 13
2
ActionMailer outside of Rails?
Has anyone used ActionMailer outside of rails? I have a requirement for work that will not allow me to do this from within a rails app. I have successfully sent an email in the following manner: MyMailer.deliver_clever_email(someArg,''testing!'') where the second argument is the body of the email, but when I try to call just: MyMailer.deliver_clever_email(someAr) and use a
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error: rake aborted! 550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>: Unauthenticated senders not allowed /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in `block in deliver!''