* [sup-talk] Sending Emails
@ 2008-07-03 15:26 fedzor
2008-07-03 15:38 ` Jeff Balogh
0 siblings, 1 reply; 3+ messages in thread
From: fedzor @ 2008-07-03 15:26 UTC (permalink / raw)
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?
-------------------------------------------------------|
~ Ari
if god gives you lemons
YOU FIND A NEW GOD
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Sending Emails
2008-07-03 15:26 [sup-talk] Sending Emails fedzor
@ 2008-07-03 15:38 ` Jeff Balogh
2008-07-03 15:52 ` wmorgan-sup at masanjin.net
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Balogh @ 2008-07-03 15:38 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Sending Emails
2008-07-03 15:38 ` Jeff Balogh
@ 2008-07-03 15:52 ` wmorgan-sup at masanjin.net
0 siblings, 0 replies; 3+ messages in thread
From: wmorgan-sup at masanjin.net @ 2008-07-03 15:52 UTC (permalink / raw)
Reformatted excerpts from its.jeff.balogh's message of 2008-07-03:
> 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
Yep, this is the actual execution point. It's a call out to whatever
sendmail program you've defined in your configuration.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-03 15:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 15:26 [sup-talk] Sending Emails fedzor
2008-07-03 15:38 ` Jeff Balogh
2008-07-03 15:52 ` wmorgan-sup at masanjin.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox