Displaying 9 results from an estimated 9 matches similar to: "how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error"
2006 Apr 28
3
ActionMailer - 550 Error - Net:SMTPFatalError
I have page on my site which sends out e-mails to all of our clients.
The idea is that if a client''s e-mail bounces, the server catches the
bounce message and flags the client (from the Rails Recipes book).
This works perfectly, except in the event that the destination domain
is my own. Since I''m running my own postfix server on the same box,
instead of accepting the
2007 Mar 13
0
Net::SMTPFatalError 555 5.5.2 Syntax error a8sm19427994poa
Hi,
I''ve sent e-mails with action mailer in other controllers.
Now I''m repeating the same trick to send emails.
I have
def bt_notify( bt )
@recipients = bt.product.user
@body["product"]=bt.product
@body["bt"]=bt
@from = "xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
@subject = "blahblah"
end
in my mailer.rb
and
2010 Nov 26
1
Relay Access Denied
Hi,
I have several rails applications on a shared hosting.
To avoid the server''s restriction of sending mails, I use an external
SMTP.
It works most of times but for some sender emails it gives an error.
Net::SMTPFatalError (554 5.7.1 <sam.s.kong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: Relay access
denied
The error happens if sender''s domain is gmail.com, yahoo.com or
2006 Nov 05
4
sending email..
i am trying to send email via my app, and although it was working
previously (i had to fiddle with the authentication to get it to work
correctly) but it was working fine..
today, i tested it, and i am getting this:
Net::SMTPFatalError (550-Verification failed for <xxx-ip11aQz5vkFBDgjK7y7TUQ@public.gmane.org>
550-(result of an earlier callout reused).
550 Sender verify failed
):
2006 Nov 04
0
How to catch an ActionMailer error
Hi,
I''ve got actionmailer set to raise an error on failure. When a user
submits my contact form, and they use a bogus address ''s@s.com'', then
the following error occurs in the production.log:
Net::SMTPFatalError (553 5.1.8 Sender address <s@s.com> domain does not
exist)
What I would like to do is catch the error, add the message to the
errors for the email
2007 Jun 26
0
ActionMailer testing errors rescue... Net::
I am testing various mails sent by my app (on localhost with Postfix
- OS X of course...)
no proble when postfix is running..
but if Postfix is not running I don''t have any raised error...
I tried using the NET lib...
rescue Net::SMTPFatalError, Net::SMTPServerBusy, Net::SMTPUnknownError,
Net::SMTPSyntaxError, TimeoutError
no matter cannot get an error...
any info or link will be
2006 Sep 18
0
Mails aren't sent: 550 Administrative prohibition
Hi all
I have two Rails applications, an older one and a recent one.
I want to send mails with my recent app, so I just copied the following
lines from the old app to the new''s environment.rb:
ActionMailer::Base.server_settings = {
:address => "mail.josh.ch",
:port => 25,
:domain => "mail.josh.org",
:authentication => :login,
:user_name =>
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
2009 Feb 08
2
SocketError in EmailController#correspond
SocketError in EmailController#correspond
getaddrinfo: no address associated with hostname.
Please see above, these are the errors i get when i try to email a user
on my networking site. Can you help please.
Actionmailer address = smtp.vodafone.ie
Below is code used for the email controller in
apps/controllers/email_controller.rb There doesnt seem to be any code
missing. Can someone help with