Displaying 20 results from an estimated 2000 matches similar to: "Net::SMTPSyntaxError"
2008 Apr 11
7
Net::SMTPAuthenticationError
Hey guys,
I want to send an email via ROR and I have put this code at the very end
in the config/environment.rb file-
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.logger = nil
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => "[my smtp server]",
:port => 25,
:domain
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 Aug 28
4
SMTPSyntaxError (501 <>: missing or malformed local part)
I get this when trying to send out an email. What exactly does this
error mean?
________________________________________
Net::SMTPSyntaxError (501 <>: missing or malformed local part
):
/usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response''
/usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''
/usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto''
2006 Jan 24
4
SMTPSyntaxError with Action Mailer
I''ve been trying to get my action mailer powered form to work all day. I
can get it to work perfectly in development mode.
But when I run it in production mode I get an error, the log spits this
out
Net::SMTPSyntaxError (501 Syntax: HELO hostname
):
/usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response''
/usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI:
I don''t think this is a very well know. It seems that, on some
operating systems, ActionMailer/SMTP crashes when it sends an email
with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get
Net::SMTPSyntaxError (502 Error: command not implemented):
Environment Details:
$ uname -a
Linux private1 2.6.15-26-server #1 SMP
2009 Mar 21
0
Action Mailer problem
Hello,
I''m trying to make my rails app send mail.
I''m using Postfix + Dovecot + SASL on Linux Debian VPS:
http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html
I''m using the following configuration in environment.rb:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address =>
2005 Dec 20
1
Sending mail error
hey,
i get this message when i want to send a mail
5.3.3 AUTH not available
c:/ruby/lib/ruby/1.8/net/smtp.rb:680:in `check_response''
c:/ruby/lib/ruby/1.8/net/smtp.rb:582:in `auth_login''
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `critical''
c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `auth_login''
c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__''
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
2006 Sep 11
1
ActionMailer SMTPSyntaxError 503
I am having a little difficulty getting actionmailer to work. It was
actually working great for a couple months, but stopped recently (maybe
when I added another domain to my DNS?). I originally left the server
settings at their default. When it stopped working (giving me 505 -
sorry, no mailbox here by that name), I added this to my settings:
:domain =>
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
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
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
2005 Nov 14
6
ActionMailer - Sent but no mail?
Hi,
I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox.
I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers.
:authentication - should this be set to true, or
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
2009 Apr 29
1
Errno::ECONNREFUSED (Connection refused - connect(2)) Act
Hi All,
I encountered with following error when i try to send e-mail in
production mode.
Errno::ECONNREFUSED (Connection refused - connect(2)):
/usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `new''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open''
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout''
2009 Feb 10
0
ActionMailer getaddrinfo: Name or service not known..
When I deploy my rails 2.2.2 app to bluehost, I''m having trouble with
the ActionMailer SMTP settings.
When I attempt to send emails through Rails/SMTP, I get the following
error message:
getaddrinfo: Name or service not known
google says that this means there''s an error negotiating with the mail
server.
Here are the settings I''m using for SMTP delivery:
2009 Mar 26
1
Error Send Message
Hello,
I''m trying to make my rails app send mail. so it''s can''t send it''s
error.
I''m using the following configuration in environment.rb:
==
Rails::Initializer.run do |config|
...
config.action_mailer.delivery_method = :smtp
end
ActionMailer::Base.smtp_settings = {
:address => "mail.mydomain",
:port => 25,
:domain =>
2006 Nov 29
1
actionmailer on Debian Etch
Hello,
I have two debian etch systems, both have rails. I have installed them
with apt, not gems. No problems so far.
Now I have tried to use the actionmailer. The results:
mage@miranda:~/temp$ rails mailer
create
create app/controllers
[....]
create log/test.log
mage@miranda:~/temp$ cd mailer
mage@miranda:~/temp/mailer$ script/generate mailer Letter test send
2006 Jul 05
1
TMail + Receing mail and extract attachments
Hi guys,
I have a hard time with action mailer and TMail, I always get the
following error...
My code:
<<
pop = Net::POP3.new(''pop.mydomain.com'')
pop.start(''xxx'', ''xxxxx'') # (1)
if pop.mails.empty?
puts ''No mail.''
else
i = 0
pop.each_mail do |m| # or "pop.mails.each
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi,
I want so set a default url for ActionMailer. I know,
ActionMailer::Base.default_url_options is deprecated, so I use
config.action_mailer.default_url_options = {
:host => "localhost"
}
in my environments (test.rb, production.rb, ...). The problem is, I get a
deprecation error and rails won''t start. I have no solution...
Any hints for me?
Testing started at