From mboxrd@z Thu Jan 1 00:00:00 1970 From: its.jeff.balogh@gmail.com (Jeff Balogh) Date: Thu, 03 Jul 2008 11:38:35 -0400 Subject: [sup-talk] Sending Emails In-Reply-To: References: Message-ID: <1215099271-sup-5787@archie> fedzor wrote: > its not as dumb of a question as you think! > > I prowled around in the source, and i even used grep tons of times to > find where the messages are *actually* sent in the code, but I can't > find it. > > Mr. Morgan, I can only assume that you know exactly where this is. > Could you point me to it? I'm not Mr. Morgan, but... $ ack sendmail lib/sup.rb 211: :sendmail => "/usr/sbin/sendmail -oem -ti", lib/sup/modes/edit-message-mode.rb --> 285: IO.popen(acct.sendmail, "w") { |p| p.puts m } 286: raise SendmailCommandFailed, "Couldn't execute #{acct.sendmail}" unless $? == 0 lib/sup/account.rb 4: attr_accessor :sendmail, :signature 10: @sendmail = h[:sendmail] 40: [:name, :sendmail, :signature].each { |k| hash[k] ||= @default_account.send(k) } The call is in send_message in lib/sup/modes/edit-message-mode.rb, line 285 in git-next. Cheers, jeff