TMail Mail #port attribute port Ruby on Rails 2.2.3 Last seen in v2.3.18 Available in: v2.2.3 v2.3.18 Compare with: (choosing a version navigates to the comparison) Choose a version v2.3.18 · same Provides access to the port this email is using to hold it’s data Example: mail = TMail::Mail.parse(email_string) mail.port #=> #<TMail::StringPort:id=0xa2c952> On this page Support Bug Reports can be filed for the Ruby on Rails project on GitHub. Feature requests should be discussed on the rubyonrails-core forum. License Released under the MIT license.