Displaying 20 results from an estimated 100 matches similar to: "Sending mail error"
2008 Apr 11
1
Net::SMTPSyntaxError
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
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
2006 Jul 03
3
ActionMailer -- anybody ever see this?
I''ve got a mailer that works -- about every other time. Authentication
fails the other half of the time. There doesn''t seem to be any
particular pattern to it -- work once, fail once, work three times, fail
twice, ....
For example, here''s one attempt from my development.log:
Sent mail:
Date: Sun, 2 Jul 2006 18:50:57 -0500
From: someone <someone@something.org>
2006 Jun 16
0
Strange problem with ActionMailer
I have the following code to send out email notifications. The view
can vary for each call to signup_confirmation, so I''m setting
template_root on each call in order to do that. It works for a while,
but after a few days it will start using a value of signup_path that
was used in a previous call. In other words, Notifier.template_root =
signup path does not actually set
2006 Jun 21
0
Possible bug in actionmailer
I have the following code to send out email notifications. The view
can vary for each call to signup_confirmation, so I''m setting
template_root on each call in order to do that. It works for a while,
but after a few days it will start using a value of signup_path that
was used in a previous call. In other words, Notifier.template_root =
signup path does not actually set
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
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 May 08
3
Can you have multiple before filters?
Hi,
Is it possible to specify multiple before filters in a controller...
here''s the thing: only one set of filters is to use the :except option.
Something like:
before_filter :check_for_session_cookie
before_filter :validate_user :except =>[''login'']
which I use to a) check if the user has returned to the site and has a
saved cookie holding login details b) check
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 =>
2014 Oct 01
1
Dovecot fails to start - Unknown setting: socket
I?m receiving the following error(s) messages when trying reloading dovecot
(Debian wheezy).
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line
73: Unknown setting: socket
doveconf: Error: managesieve-login: dump-capability process returned 89
Configuration file /etc/dovecot/dovecot.conf :
# If you only want to use dovecot-auth, you can set this to "none".
2008 Jul 03
1
EXIM + Dovecot - Auth mechanism
Hello all.
Sorry for a lot of question - im making a new mail system now.
Im wondering how to auth different MUA.
For example Thunderbird & The Bat 4.x - CRAM-MD5
MS Outlook 2007 - DIGEST-MD5
Im create a 3 users and store passwords in LDAP using MD5-CRYPT(1),
CRYPT(2) and MD5(3) - for tests.
If im not use "secure connection" in thunderbird - im auth fine(plain
text over SSL)
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 =>
2005 Dec 21
1
how to sort records??
hey,
ยต
i have these records in my database, in a many-to-many relationship
clients_users
1;66
2;66
3;66
5;66
6;66
7;66
8;66
14;66
15;66
16;66
17;66
18;66
19;66
20;66
21;66
22;66
clients
1;VME Complex Foster
2;VME Res. Canada
3;Twodecode
5;Index
6;Verleye bvba
7;Venus bvba
8;All Building Services nv
14;Vitro-Service sa
15;Vitro-Clean
16;Vecom nv
17;Ultra lean bvba
18;Solar Cleaning Services nv
2006 Jan 31
0
webservice problem (cant make client)
hey, i have made a webservice
http://twodecode.pilot.localhost.be:3000/backend/wsdl
here i can see the wsdl file
i have a method string Authenticate(string twa, string login, string pass)
when i do /invoke i can test it, this all works
backend_api.rb
class BackendApi < ActionWebService::API::Base
api_method :authenticate,
:expects => [{:twa =>:string},{:login
2005 Dec 29
3
Post problem with select lists
hey,
i have this problem
how come i always get -1 for the select list??
rhtml
First, select a client.
<select id="client_id" name="client[id]" onChange="submit();" >
<%= options_for_select(@client_options, @client_id.to_i) %>
</select><%= @client_id %>
controller
if @request.post?
if @request.xml_http_request? #called by ajax,
2006 Aug 17
2
validates_associated bug?
i seem to be experiencing a bug where rails tells me that my
organization object''s associated credit card is invalid (activerecord
validation-wise invalid), when i know it to be valid. this happens
only if i tell the organization to validate_associated :credit_card.
i know the associated credit card is valid, because a) that
credit_card object itself throws no validation errors, and b)
2011 Jun 28
3
Exim and Dovecot2 SASL: 435 Unable to authenticate at present
Hi. I had working Exim 4.71 and Dovecot 1.2.9 SASL configuration on
Ubuntu Lucid, but needed some features from dovecot2, so I installed
2.0.13 from
https://launchpad.net/~carsten-uppenbrink-net/+archive/dovecot2 . Now I
get Subj error while trying to authenticate via dovecot auth-client
socket. However IMAP auth works fine with 2.0.13 and smtp auth worked
fine until upgrade, so I think
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 23
1
How to call C# webservices
hey,
i have created some webservices in C# with vb.net and IIS.
i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx
Like:
[Webservice]
AddCity(string zip, string city)
{
...do some stuff
return "SUCCES";
}
How must i call this from ruby??
I save an object, and then call the services.
city = City.new()
if city.save
//call webservice
else
//do
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''