Displaying 20 results from an estimated 50 matches for "server_settings".
2005 Dec 17
13
Rookie with ActionMailer
...test''
end
end
Environment:
# Include your app''s configuration here:
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.address.ca",
:port => 25,
:domain => "www.address.ca",
:authentication => :login,
:user_name => "username",
:password => "password"}
so to me it looks like there is...
2005 Oct 24
2
config.action_mailer... ?
I''m trying to figure something out with the Initializer stuff in .14,
and I can''t tell if I''m missing something or if something was
overlooked..
What I want to do is something like this:
config.action_mailer.server_settings[:address] = ''192.168.40.5''
Prior to .14, I was setting it with:
ActionMailer::Base.server_settings[:address] = ''192.168.40.5''
Anyone have any insight?
2005 Apr 20
5
ActionMailer: Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error
Quick ActionMailer Question:
I''m trying to send a test email message using ActionMailer and I get a
Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error.
I''m attempting to access a remote smtp server and have setup my
settings in the environment.rb file according to the "how to" article.
My test controller:
class MailTestController < ApplicationController
2006 Mar 05
5
DreamHost and ActionMailer
I''m getting ready to sign up with DreamHost, but my application is
missing the ActionMailer features.
First, can anyone provide some real code to send an email upon comment
submission?
Second, is it easy to setup ActionMailer on a DreamHost server?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2005 Mar 11
4
actionmailer settings
A couple questions:
1) How does rails no if you are in your test, dev or production
environment?
2) Does anyone have an actionMailer server settings that will work on
your standard local machine? I will use the one provided for my
textdrive account but for testing on my machine I am getting connection
refused.
Thanks.
Your Friend,
Jonathan Kopanas
http://www.kopanas.com
2007 Mar 03
3
configure actionmailer to recieve email on localhost?
hi, is there a way i can configure my localhost to receive email using
smtp? i can out emails fine but now would like to test/get-to-know how
to handle incoming emails.
if on my localhost:3000, do i do anything like below?
ActionMailer::Base.server_settings = {
:address=>''smtp.yourserver.com'', # default: localhost
:port=>''25'', # default: 25
:user_name=>''user'',
:password=>''pass'',
:authentication=>:plain # :plain, :logi...
2010 Mar 10
6
Email section
Sir , I want to implement email section in ma web application..
so i found the method ''server_setting'' for it...
Following is the method:
config.action_mailer.server_settings = {
:address => "smtp.gmail.com" ,
:port => 25,
:domain => "gmail.com" ,
:authentication => :login,
:user_name => "manish" ,
:password => "belsare"
}
sir but wen i restart my web server following errors are generated:
[root@lo...
2006 Jul 27
4
sending emails
Hi, i am running a rails web application on freebsd.
I am having troubles sending emails.
i have this:
ActionMailer::Base.server_settings = {
:address => ''smtp.mydomain.com'',
:domain => ''mydomain.com'',
:port => 25,
:user_name => ''user'',
:password => ''password'',
:authentication=>:login
}
in environment.rb.
When i send an em...
2006 Jan 24
9
ActionMailer: Mail isn''t delivered
Hi all
I used the search for this, but I got an Application Error, so sorry for
the newbie question.
I have tried to send an e-mail using ActionMailer. I have to following
config (environment.rb):
ActionMailer::Base.server_settings = {
:address => "mail.psyguide.org",
:port => 25,
:domain => "mail.psyguide.org",
#:authentication => :login,
#:user_name => "dave",
#:password => "secret",
}
ActionMailer::Base.default_charset = "utf-8"
The mail seems...
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
hi:
I am on Mac OSX 10.4 using locomotive.
My ActionMailer configuration is
ActionMailer::Base.delivery_method = :smtp # or :sendmail or test
ActionMailer::Base.server_settings = {
:address => "mail.albertafilmworks.com",
:port => 25,
:domain => "brucebalmercanada.com"
}
ActionMailer::Base.perform_deliveries = true # alternative was false
ActionMailer::Base.default_charset = "utf-8"...
2006 Aug 11
5
actionmailler corrupting emails
...t;/div>
=
=
_________________
Any ideas what could be causing this? Someone on irc mentioned an
issue with ruby cgi library, but wasn''t sure how to fix it. My code
is below.
Thanks in advance,
Sean
Here''s my code:
# development.rb
# Smtp config
ActionMailer::Base.server_settings = {
:address => "smtp.b2b2c.ca",
:port => 25,
:domain => ''www.mywebsite.com''
}
ActionMailer::Base.default_charset = "utf-8"
# notfier.rb
class Notifier < ActionMailer::Base
def order_confirmation(order)
@recipients = order.c...
2006 Oct 31
3
ActionMailer how to check mail sent
...am sending an email via Actionmailer
settings are written correctly in environment.rb
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.raise_delivery_errors = :true
ActionMailer::Base.perform_deliveries = :true
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.com",
:port => 25,
:domain => "mydomain.com",
:user_name => "myusername",
:password => "mypassword",
:authentication => :login
}
functional test are good... mail sent
development.log contains the...
2006 Jul 11
1
Getting ActionMailer off the ground
First off, I wanted to thank the list. You all have been a great help
with my rookie questions as I''m getting my RoR app off the ground. Now
to the problem I''m having with ActionMailer. No matter what I set in
ActionMailer::Base.server_settings when my app tries to send mail I get
a 501: HELO hostname error. I basically set it up matching the
ActionMailer wiki page. I''ve tried using my machine as the smtp server
with just localhost settings, and I''ve tried using my office''s smtp
server with their settings....
2006 Mar 01
1
Storing environment.rb settings in the database...
Has anyone accomplished storing settings that would normally go in
environment.rb into the database?
For instance, I''d like it if I could specify my ActionMailer properties from
a web UI admin panel
ActionMailer::Base.server_settings = {
:address => "mail.server.here",
:port => 25,
:domain => "somewhere.com",
:authentication => :login,
:user_name => "my@email.address",
:password => "xxxxx",
}
Stuff like address, domain, user_name, password....
Ideas?
--
se...
2006 Mar 14
2
ActionMailer not working correctly
Anyone know why this wouldn''t work? I''m using acts_as_authenticated for
my login, and the mail is not getting sent. I''m using dreamhost. Here''s
my settings:
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.com",
:port => 25,
:domain => ''mydomain.com'',
:user_name => "blah",
:password => "password",
:authentication => :login
}
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base...
2006 Mar 27
3
Email On Dreamhost
Hi guys
is there any way i some one tell me how to set up email on Dreamhost
this is my production log
:SMTPAuthenticationError (535 Error: authentication failed)
# Include your application configuration below
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.irishwebdesigner.com",
:domain => "irishwebdesigner.com",
:port => 25,
:authentication => :login,
:user_name => "jdunneuk",
:password => "password" }
ActionMailer::Base.perform_deliveries = true
ActionMailer...
2006 Aug 05
1
TLS support for ActionMailer!
This plugin lets you send mail through SMTP servers (like gmail) that
require a secure connection. All you have to do is install the plugin
via the standard methods, and set the following line somewhere useful
(like environment.rb):
ActionMailer::Base.server_settings[:tls] = true
Plugin URL:
http://svn.kylemaxwell.com/action_mailer_optional_tls/
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
1-866-263-3261
2006 Jan 17
2
actionmailer
...t;test@test.com"
@from = "accounts@mywebsite.com"
@subject = "Thank you"
# Email body substitutions go here
# @body[?first_name?] = user.first_name
# @body[?last_name?] = user.last_name
end
end
This is what I have in environment.rb
ActionMailer::Base.server_settings = {
:address => "smtp.postoffice.net",
:port => 25,
:domain => "www.test.us",
:user_name => ''test'',
:password => ''test'',
:authentication => :login
}
Can anyone see anything wrong here? Appreiciate the help. Than...
2006 Mar 14
1
ActionMailer Error - Please Help!
...39;m trying to send an email to myself when someone comments on my site.
Here''s my code, if you don''t mind, could you tell me if you see
something wrong?
#environment.rb
# Include your application configuration below
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.com",
:domain => "mail.mydomain.com",
:port => 25,
:authentication => :login,
:user_name => "myuname",
:password => "mypwd" }
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise...
2006 Apr 01
4
problems getting ActionMailer working (on server)
...my configuration.rb file I have (where password is actually visible
and correct). I am able to log into the webmail with this username and
password so I think that part is ok. I also tried without the "mail."
part in :domain.
ActionMailer::Base.delivery_method = :stmp
ActionMailer::Base.server_settings = {
:address => "mail.freedomkilts.com",
:port => 25,
:domain => "mail.freedomkilts.com",
:authentication => :login,
:user_name => "service@freedomkilts.com",
:password => "********"
}
ActionMailer::Base.default_chars...