Skip to content
Browse files

[HACK] remove call to add_required_fields and header.ready_to_send!

Conflicts:
	lib/mail/message.rb
  • Loading branch information...
1 parent 83d89cc commit 6bc2d020071cebb4bbfc465b7bb7ffb0efaa46aa @ConradIrwin committed Jan 25, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/mail/message.rb
View
2 lib/mail/message.rb
@@ -1700,15 +1700,13 @@ def convert_to_multipart
# Encodes the message, calls encode on all its parts, gets an email message
# ready to send
def ready_to_send!
- header.ready_to_send!
body.charset = charset
identify_and_set_transfer_encoding
parts.sort!([ "text/plain", "text/enriched", "text/html", "multipart/alternative" ]) if body.need_to_sort?
parts.each do |part|
part.transport_encoding = transport_encoding
part.ready_to_send!
end
- add_required_fields
end
def encode!

0 comments on commit 6bc2d02

Please sign in to comment.
Something went wrong with that request. Please try again.