class method
self.create_from_line
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.create_from_line( port )
make _From line
Parameters
-
portreq
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb, line 271
def UNIXMbox.create_from_line( port )
sprintf 'From %s %s',
fromaddr(), TextUtils.time2str(File.mtime(port.filename))
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb line 271
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::UNIXMbox