Questions tagged [ar-mailer]

11 questions
6
votes
6 answers

ar_sendmail command not working with ruby 1.9.2

I am not able to run ar_sendmail command from my terminal. I don't think i have missed its configuration. Below is my code; development.rb ++++++++++++++++++++++++++++++++++++++++++++++++++++ ActionMailer::Base.delivery_method =…
ashisrai_
  • 6,438
  • 2
  • 26
  • 42
2
votes
2 answers

AR Mailer with changing settings?

we're running ARMailer in one of our projects right now. It's working fine but as different customers are allowed to send confirmation emails via this service we want to offer them the possibility to use their own SMTP settings for that. Is there a…
Matt
  • 1,610
  • 2
  • 17
  • 24
2
votes
0 answers

Forward a mail using Tmail & ActionMailer::ARMailer

I'm writing a rake task to go through one of our mailboxes of incoming mail, using Tmail. For certain mails, i just want to forward them on to another address. I'm not sure what the best way to do that is though. Our regular mails for the website…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
2
votes
2 answers

Wrong number of arguments error with TestMailer

I'm running a strange problem sending emails. I'm getting this exception: ArgumentError (wrong number of arguments (1 for 0)): /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.1/lib/active_record/base.rb:642:in…
Roberto
  • 1,450
  • 1
  • 15
  • 32
1
vote
0 answers

Rails - Question mark inserted into database

I noticed a strange behaviour of an application today which I can't explain: We have an email queue to send mails via ArMailer. In some of them a question mark is inserted from nowhere. This is from the insert command rails shows me in the server…
stex
  • 861
  • 3
  • 13
  • 21
1
vote
2 answers

send mail from ar_mailer is not working

I have this task: task :send_emails => :environment do Dir.chdir(Rails.root) ActionMailer::ARSendmail.run(['-o']) end I try to run it as a cronjob, or in console. The emails table is full, but no emails are coming out. The query that I get in…
Noam B.
  • 3,120
  • 5
  • 25
  • 38
1
vote
1 answer

Problem getting ar_mailer/ar_sendmail working on new server

Hey all. I've got a new app up and running on a new ubuntu server. It's working fine generally but i can't get ar_sendmail working. I'm following the instructions on this…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
1
vote
3 answers

Rails ar_mailer fails to send emails

I've just switched an application to use ar_mailer and when I run ar_sendmail (after a long pause) I get the following error: Unhandled exception 530 5.7.0 Must issue a STARTTLS command first. h7sm16260325nfh.4 I am using Gmail SMTP to send the…
DEfusion
  • 5,533
  • 5
  • 44
  • 60
1
vote
0 answers

what email program should be installed in order to ar_mailer_rails3 becomes to work?

ar_mailer_rails3 doesn't send emails bundle exec ar_sendmail_rails3 -e production -v expired 0 emails from the queue found 175 emails to send I think it is possible because email sending isn't setup on server. I installed mail-utils but it doesn't…
gayavat
  • 18,910
  • 11
  • 45
  • 55
0
votes
1 answer

Lost values after switching email sending from AR_Mailer to DelayedJob

I've been using AR_Mailer for about 6 months without ever running into problems. I recently added DelayedJob for some administrative background jobs. Since DelayedJob also handles emails very well (thanks to DelayedMailer gem) I completely removed…
Dorian
  • 2,571
  • 23
  • 33
0
votes
1 answer

AR_mailer throwing exception. Mail still sent

I'm setting up AR_mailer to send mail. All works from a sending point of view, but when the mail is actually created I receive this error: A LoadError occurred in users#create: Expected…
Nick
  • 518
  • 1
  • 4
  • 16