similar to: Question on Active Mailer

Displaying 20 results from an estimated 10000 matches similar to: "Question on Active Mailer"

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
2006 Jul 19
7
Email Form for Contact Page
Can anyone point me to or provide me with code or a tutorial (preferably a tutorial) for creating simple contact forms where the data is sent over email to a specific email address. I have search all over the internet and there doesn''t see to be anything anywhere. Thanks In Advance, Alex. -- Posted via http://www.ruby-forum.com/.
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
2008 Oct 25
7
Routing of result not clear in ActionMailer
Dear all, I am trying to understand the following behaviour of the ActionMailer in Rails 2. I have an emailer_controller.rb class EmailerController < ApplicationController def send_mail Emailer::deliver_contact_email(params[:email]) end end I have a model emailer.rb class Emailer < ActionMailer::Base def contact_email(email_params, sent_at = Time.now) @recipients =
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
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
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 Feb 24
4
Understanding controllers
You''ll have to forgive me ... I''ve been toying with rails for about a week and although I don''t feel completely lost there''s still a lot that I don''t understand. Here goes. Assume I have a controller called admin in app/controllers as well as three model classes in app/models: product, category, warehouse. How exactly do I use the admin controller to
2010 Jan 05
1
PDC directory permission fail
Dear All .. I use webmin to do the samba PDC configuration The authentication is work well. I've a problem with share permission, the condition is : 1. I've group named "warehouse" 2. I've user named "wh01", with home dir /home/wh01, and be a group member of "warehouse" Both created via webmin. 3. Next I created share, named "warehouse"
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 Nov 21
3
connection to IPC$ denied due to security descriptor
Hey all, I have a fileserver running Debian Etch and Samba 3.0.24 that I use to serve media and private home directories. I have a couple roommates, and therefore have a couple accounts on the box for those users. I had everything working perfectly until last week when my system drive took a crap. I've reinstalled everything exactly the same (I think?) but now I am having problems with
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 =>
2006 Mar 24
1
handle multiple warehouses
Hello all, I am working on building a web store with RoR. The company has many locations. All the stock/order information is processed through the same site. Here is my question. How would you handle the multiple warehouse problem with Rails? How would you keep track of the information in multiple warehouses? Thank you for your help, PV -- Posted via http://www.ruby-forum.com/.
2012 Nov 28
1
Help setting optimization problem to include more constraints
Dear R-helpers, I am struggling with an optimization problem at the moment and decided to write the list looking for some help. I will use a very small example to explain what I would like to. Thanks in advance for your help. We would like to distribute resources from 4 warehouses to 3 destinations. The costs associated are as follows: Destination >From 1 2 3 Total
2009 Apr 18
1
Help with Data Warehouse app -- How to display data?
I have a "data warehouse" application I''ve been writing and I would like to solicit some assistance with how to design it. Basically, I harvest data from a lot of sources and dump them into my database. For background on what I''m doing, this "data warehouse" takes HR/Personnel/Company/Organizational data and associates that with User Account and Group data
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
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
2015 Sep 17
1
Centos 7 using cups with cups-lpd loaded getting print jobs from an Sco Unix lpd system
Centos users, I new to Centos 7 and my problem is the following: I am using my Centos 7 system as a print server in a warehouse. Using cups for the print queue's. Which I can print to the printers find from the Centos 7 machine. The hosting system is Sco Unix using lpd printing. This machine is in Illinois and the warehouse / Centos 7 machine is in Arizona. I have loaded
2009 Apr 06
3
Installing Warehouse- undefined symbol: apr_dbm_type_db
Hi All, I want to install warehouse application but i could use rake command because of following error. Kindly support me to resolve the same. Error- !! No Ultraviolet gem found, defaulting to javascript syntax highlighting. Do not be afraid. !! Error loading plugins: Mysql::Error: Table ''electron_xorndevelopment.plugins'' doesn''t exist: SELECT * FROM `plugins`
2009 Aug 13
3
OT: hardware newbie p9115-505
Hi guys, Sorry for the OT. I've posted it in some IBM related forums but no reply yet. We've got an IBM pSeries p9115-505 machine from warehouse. I notice that it doesn't have any port for the monitor. Where do we plug the monitor? >From Google it says something about HMC (Hardware Management Center). Any hints is really2 appreciated. Thank you.