class method
self.new_boundary
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.new_boundary()
Provides a new email boundary to separate parts of the email. This is a random string based off the current time, so should be fairly unique.
For Example:
TMail.new_boundary #=> "mimepart_47bf656968207_25a8fbb80114" TMail.new_boundary #=> "mimepart_47bf66051de4_25a8fbb80240"
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb, line 67
def TMail.new_boundary
'mimepart_' + random_tag
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail