Displaying 20 results from an estimated 1000 matches similar to: "mail sending problem with ActionMailer"
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
I have a rails app that can send emails to gmail, yahoo accounts. But
when it comes to more obscure accounts like email-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or
email-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows that
the email was sent. Any ideas why this may be happening?
I have sent an email directly through the same web server through the
command line
2007 Aug 10
1
ActionMailer and Dreamhost
Hello,
I am running my RoR app on localhost and am trying to implement
ActionMailer. In my environment.rb config file, I am pointing to my
smtp server on Dreamhost:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.server_settings = {
:address => ''mail.domain.info'',
:port => 25,
:domain =>
2007 Nov 17
2
ActionMailer 501: sender address must contain a domain
Hi there guys!
Im copying an email example from "Agile web development with rails", but
i keep getting a "501: sender address must contain a domain" error.
Heres my code in my enviroment.rb. Real values replaced with
"something":
[code]
config.action_mailer.delivery_method = :smtp
config.action_mailer.default_charset ="utf-8"
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 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'',
2006 Mar 14
1
ActionMailer Error - Please Help!
I''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 =>
2009 Feb 26
1
Line breaks removed from ActionMailer template
I''ve been googling and searching this list for about an hour now, and
maybe I''m just not thinking of the common nomenclature for what to be
looking for, but I can''t find jack.
Here''s the deal: I''ve got an application coded correctly, sending the
mail out, and the template is structured correctly (method_name.erb is
the filename) with LF line breaks
2011 Apr 22
0
ActionMailer : Not able to send out mails
Hello,
I have the following code in my environment/development.rb
config.action_mailer.raise_delivery_errors = true;
config.action_mailer.delivery_method = :smtp;
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:user_name => "my_id-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org",
:password => "secret",
2006 Oct 31
3
ActionMailer how to check mail sent
OS X 10.4.8
I 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,
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below:
Model: order_mailer.rb
class OrderMailer < ActionMailer::Base
def send_an_email()
@recipients = "myadress@isp.co.uk"
@from = "myaddress@isp.co.uk"
@subject = "Ruby Test"
@body = "The Body"
end
end
View: send_an_email.rhtml
<p>Email was sent!.</p>
Controller: Admin.rb
def
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error:
rake aborted!
550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>:
Unauthenticated senders not allowed
/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in
`block in deliver!''
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
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists,
I''m currently trying to get email hooked up via ActionMailer, and while
I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error
that I''m unfamiliar with.
Right now, I''m just trying to send email from my dev box via the SMTP
server at work.
My development.rb file:
#...snip
config.action_mailer.delivery_method = :smtp
2008 Oct 24
2
Verify that an email is sent?
Hi all
I''m trying to get my actionmailer to work. I''ve set the following params
in my environment.rb:
config.action_mailer.smtp_settings = {
:address => "mail.???.ch",
:port => 25,
:domain => "???.ch",
:authentication => :login,
:user_name => "???",
:password => "???"
}
2008 Jul 06
12
Action Mailer Driving me insane
Ok, maybe its a short walk, not a drive...
I have it working just fine using smtp in development env from my OSX
machine. When I deploy it to the server (which happens to be the same
box where the smtp server lives), no email, no errors, nothing in the
Postfix logs.
I''ve double checked that my production and development action mailer
settings are identical. Here''s whats in the
2008 Mar 13
0
mail problem and rails 2.0.2
Hello,
I have some code for sending mails. The same worked perfectly on a
machine running rails version 1.2.5.
Now i have moved the entire application to another system which is
running rails 2.0.2 Whenever i try to send a mail i get an error
''execution expired''
Please go through the following code if you can figure out something
wrong. Do i need to change something for
2012 Feb 14
6
SMTP problem.
Hey all, well I am trying to send emails to newly created users but I
have a problem.
In the rails log it states that the email has been sent but the email is
never actually received so obviously there is a problem.
I have noticed one in particular and I don''t understand how to fix it.
Once I create the user I get the following error message:
Net::SMTPAuthenticationError (535-5.7.1
2009 Apr 13
5
Ruby 1.8.7 + Rails 2.3.2 + TLS = Where's the documentation?
After spending a few hours reading dozens of blogs and tutorials I am
still stumped. Numerous sites mention ruby 1.8.7 and rails 2.3
supporting TLS out of the box. However, I can not find any documentation
on setting this up to send emails correctly. Furthermore, after
attempting to send emails using Gmail and TLS i get the following error:
530 5.7.0 Must issue a STARTTLS command first.
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 =>
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 =>