Displaying 20 results from an estimated 55 matches for "smtp_set".
2008 May 06
2
Can you use RSpec to test initializers?
Hi there!
I''m trying to spec out some code that will set the smtp_settings in a
custom ActiveMailer object. Basically I want to check that if my
configuration object has the right smtp_server, that the ActiveMailer
object gets set up correctly. So, my spec looks like this:
it "uses smtp server if config says so" do
GitoriousConfig.should_receive(:[...
2011 Dec 12
1
Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production
...out this issue on my remote server
( Linux/Debian6 - Qmail)
localhost testing is fine
, so my class UserMailer < ActionMailer::Base is rendering correctly
the email ( checked in the development log)
now, testing the remote SMTP server , via the production console,
using :
ActionMailer::Base.smtp_settings = {:address =>
"mail.mydomain.com",:port => 587,:domain =>
"mydomain.com",:authentication => :login, :user_name =>
"myself-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",:password =>
"xxxxxxxxxxxx",:enable_starttls_auto => false}
cla...
2009 Jan 08
4
SMTP settings for action mailer
with rails 2.2.2 action mailer requires a valid ssl certificate
i have a question about routing
my smtp settings for my postfix are now
ActionMailer::Base.smtp_settings = {
:address => "smtp.mydomain.com",
:port => 25,
:domain => "mydomain.com",
:authentication => :plain,
:user_name => "mydomain_mailer-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",
:password => "password"
}
both the email server and the ra...
2012 Feb 14
6
SMTP problem.
...sage:
Net::SMTPAuthenticationError (535-5.7.1 Username and Password not
accepted.
How do I set a username and password?
I have the following in my development.rb:
config.action_mailer.raise_delivery_errors = false
# config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtphost.aber.ac.uk",
:port => 25,
:domain => "Christopher-PC"
}
ADMIN_EMAIL="chris230391-YDxpq3io04c@public.gmane.org"
Any help would be much appreciated. Thanks.
--...
2009 Apr 13
5
Ruby 1.8.7 + Rails 2.3.2 + TLS = Where's the documentation?
...evelopment.rb:
# Don''t care if the mailer can''t send
config.action_mailer.raise_delivery_errors = true
# set delivery method to :smtp, :sendmail or :test
config.action_mailer.delivery_method = :smtp
# these options are only needed if you choose smtp delivery
config.action_mailer.smtp_settings = {
:address => ''smtp.gmail.com'',
:enable_starttls_auto => true,
:port => 587,
:domain => ''digiaid.com.au'',
:authentication => :login,
:user_name => ''info-fGHeCWgaIIjvnOemgxGiVw@public.gman...
2008 Jun 23
1
ActionMailer Fails To Send Emails Post Authentication
...same application on the local machine (Dev)
with a local mail server running on it I get the error :
Net::SMTPAuthenticationError in AccessrequestsController#create
535 Authentication Failed (see details in the text file attached).
The actionmailer settings for production are :
ActionMailer::Base.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "letter4sure.com",
:authentication => :login,
:user_name => "CHECKED_THIS_ADMIN_USER/PWD_IT_WORKS",
:password => "CHECKED_THIS_ADMIN_USER/PWD_IT_WORKS"
}
For the local machine...
2008 Jul 30
1
postfix and rails (ubuntu)
I''ve got postfix up and running on my rails system (unsure if it''s
correct), but Rails doesn''t seem to talk to it at all.
I''ve setup:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.smtp_settings = {
:address => ''localhost'',
:domain => ''www.mywebsite.com'',
:port => 25
}
But it doesn''t work. Which log files should I check and/or how do I
fix this? I''m running Ubuntu and the latest stable rails version.
--~--~---------...
2009 May 17
1
action mailer on my local computer
hi guys
i am newbie in ror. i wanna test my simple ror application on windows
xp. i use Webrick as my web server.
i don''t know how to configure my action mailer for sending email to
another addresses?
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => ''localhost'',
:port => 25,
:domain => '' '',
:user_name => '''',
:password => '''',
:authentication => :plain
}
i don''t know which parameter must be set and what''s...
2011 Feb 18
0
ActionMailer: hostname was not match with the server certificate
Hi,
I am setting up SMTP for my Rails 3 App.
This configuration works.
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => "mydomain.com",
:user_name => "<username>",
:password => "<password>",
:authentication...
2009 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby.
But when i execute the sample application with jruby, it dont send email and
dont get error.
What can be wrong?
--
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org
--
You received this message because you are subscribed to the Google Groups
2007 Jun 11
1
ActionMailer + ISP SMTP
...plication to send emails (needed for salted
hash login)
but i keep getting errors.
i''m sure port 25 is not blocked since i''m able to
send mails
through PHP scripts.
my smtp settings in config/enviroment.rb are:
# Include your app''s configuration here:
ActionMailer::Base.smtp_settings = {
:address => "smtp.012.net.il",
:port => 25,
:domain => "localhost",
:user_name => "USERNAME",
:password => "PASS",
:authentication => :login
}
and i also tried with:
:authentication => :plain
and:
witho...
2018 Mar 04
3
LMTP delivery segfaults when user is over quota.
Hello!
I'm having crashes with LMTP delivery when user is over quota on the
latest CentOS 7.4 with the latest Dovecot 2.3.0.1 from Dovecot repo.
I see the issue has been fixed on January 17, but it doesn't seem to
have made it into 2.3.0.1 (I compared with the source from
https://dovecot.org/releases/2.3/dovecot-2.3.0.1.tar.gz).
2010 Nov 26
1
Relay Access Denied
...mane.org>: Relay access
denied
The error happens if sender''s domain is gmail.com, yahoo.com or
hotmail.com.
But it works most other domains.
How do I avoid this error?
The smtp configuration is like the following.
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:tls => true,
:address => "smtpdomain.com",
:port => 587,
:domain => "www.mydomain.com",
:user_name => "my_user_name",
:password => "my_pasword",
:authentication => :plain
}
Thanks.
Sam
--...
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
...fault)
# Disable delivery errors, bad email addresses will be ignored
config.action_mailer.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
config.action_mailer.default_charset = "utf-8"
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "my-app.com"
}
help please!
thanks
Tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&q...
2008 Apr 01
2
Rails Mail ISSUE
...sending mail thorugh rails.
The same works on a local machine but it does not work on the server. I
get a timeout error : execution expired. Can anyone tell me whats wrong.
config.action_mailer.delivery_method = :smtp
#these options are only needed if you choose smtp delivery
config.action_mailer.smtp_settings = {
:address => "mail.domainname.com",
:port => 25,
:authentication => :login,
:user_name => "abc-8Ru2MIxcQXYFQeE35raUng@public.gmane.org",
:password => ''1234567''
}
Please help me....
2010 Nov 09
3
Rails 3 Action Mailer issue
Hi All,
I am trying to send an email on a user sign up. The email is working
without any issues. However there is a problem with the :from field
that I am specifying. My SMTP setting look like :
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => "587",
:domain => "test.com",
:user_name => "support-J0of1frlU80@public.gmane.org",
:password => "secret",
:...
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
...m trying to use ActionMailer
All my files are in a single folder ''joinus_email
- joinus_email
joinus_email.rb
notifier.rb
- notifications
joinus_email.html.erb
joinus_email.text.erb
running the script joinus_email.rb, (in which I defined the
ActionMailer::Base.smtp_settings)
mail = Notifier.joinus_email("john.doe-PV5Ro7/Mrj4@public.gmane.org").deliver
is raising an exception :
exception: Missing template notifier/joinus_email with
{:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en]}
in view paths
notifier.rb
c...
2013 Sep 11
2
Mandrill mail problem
...untu 12.10.
in Gemfile:-
gem "mandrill-api", "~> 1.0.45"
gem ''mandrill_mailer''
application.rb:-
config.action_mailer.default_url_options = { :host => ''localhost:3000'' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.mandrillapp.com",
:port => 587,
:user_name => ENV["some email"],
:password => ENV["api key"],
:authentication => ''login''
}
In mailer.rb:-
def verify_code...
2018 Mar 05
3
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
...= 0
}
delivery_time_started = {
tv_sec = 1520258982,
tv_usec = 162818
}
sets = <optimized out>
rcpt_user = 0x56239bdcacb8
mail_set = <optimized out>
username = <optimized out>
rcpt_idx = 0
smtp_set = 0x56239be046e0
lda_set = 0x56239be04750
ns = <optimized out>
rcpt_to = 0x56239bde0e78
trcpt = 0x56239bde0e38
storage = 0x56239bdcecc8
mail_error = 1793002219
ret = <optimized out>
client = 0x56239bdbc338
service_u...
2018 Mar 04
0
LMTP delivery segfaults when user is over quota.
...ields = 0x0,
extra_fields_count = 0}
??????? delivery_time_started = {tv_sec = 1520176597, tv_usec = 704043}
??????? sets = <optimized out>
??????? rcpt_user = 0x56246abe30e8
??????? mail_set = <optimized out>
??????? username = <optimized out>
??????? rcpt_idx = 0
??????? smtp_set = 0x56246abcf448
??????? lda_set = 0x56246abcf4b8
??????? ns = <optimized out>
??????? rcpt_to = 0x56246abc3f00
??????? trcpt = 0x56246abc3ec0
??????? storage = 0x56246abe8838
??????? mail_error = MAIL_ERROR_NOQUOTA
??????? ret = <optimized out>
??????? client = 0x56246abaf538...