Commit Graph

191 Commits

Author SHA1 Message Date
ee6a2b01f9 Make Reply-To bold too since no one ever figures out why it's not
* mail-format.c (write_default_header): Make Reply-To bold too
	since no one ever figures out why it's not currently.

svn path=/trunk/; revision=13723
2001-10-17 16:08:54 +00:00
1
f35bfdac73 Added a checkbox for body indexing.
2001-10-11    <NotZed@Ximian.com>

        * local-config.glade: Added a checkbox for body indexing.

        * mail-local.c (mail_local_reconfigure_folder): Get index_body
        widget.
        (mail_local_folder_reconfigure): Add an 'index_body' argument &
        implement.  Dont do anything if nothing changed.

        * openpgp-utils.c (openpgp_verify): Use e_iconv_open.

svn path=/trunk/; revision=13603
2001-10-11 22:09:43 +00:00
cd28010b32 Create a chaqrset picker submenu in the View menu.
2001-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_message): Create a
	chaqrset picker submenu in the View menu.

	* mail-format.c (mail_format_raw_message): Pass the mail-display
	to get_data_wrapper_text.
	(get_data_wrapper_text): Use the user's override charset if one is
	provided, otherwise user the user's default charset.
	(handle_text_plain): Pass along the mail-display to
	get_data_wrapper_text.
	(handle_application_pgp): Same.
	(handle_text_enriched): Here too.
	(mail_get_message_body): Pass NULL as the mail-display to
	get_data_wrapper_text since we don't have access to a
	mail-display.

	* mail-display.c (mail_display_set_charset): New function to set a
	charset on the maildisplay. Once set, the message is redisplayed
	using the new charset.
	(mail_display_destroy): Free the charset.

	* folder-browser.c (folder_browser_charset_changed): New callback
	for when a user overrides the message charset.

svn path=/trunk/; revision=13530
2001-10-09 22:01:49 +00:00
c5a91116e2 Write out the Bcc: header when applicable. Fixes bug #5823.
2001-10-08  Jon Trowbridge  <trow@gnu.org>

        * mail-format.c (write_default_header):	Write out the Bcc: header
	when applicable.  Fixes bug #5823.

svn path=/trunk/; revision=13508
2001-10-09 02:02:16 +00:00
0f4eae903d Convert the htmlinfo into utf8. Fixes bug #11966.
2001-10-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (attachment_header): Convert the htmlinfo into
	utf8. Fixes bug #11966.

svn path=/trunk/; revision=13506
2001-10-08 18:58:30 +00:00
c0672f92d1 Add toggle button to config menu to turn the "confirm sending unwanted
2001-10-05  Jon Trowbridge  <trow@ximian.com>

	* mail-config.glade: Add toggle button to config menu to turn the
	"confirm sending unwanted HTML" dialog on/off. (Bug 10794)

	* mail-accounts.c (construct): Make said toggle button actually
	work.

svn path=/trunk/; revision=13466
2001-10-05 20:44:51 +00:00
447e2e189e Fix so that an email address with no name is once again just
* mail-format.c (write_address): Fix so that an email address with
	no name is once again just "foo@bar.com", not "<foo@bar.com>".

svn path=/trunk/; revision=13423
2001-10-04 20:28:08 +00:00
819455addb Don't use the wax-seal icons for the pgp stuff anymore, use Jimmac's new
2001-10-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): Don't use the wax-seal
	icons for the pgp stuff anymore, use Jimmac's new icons instead.

svn path=/trunk/; revision=13383
2001-10-03 19:07:00 +00:00
0e524f3ed0 Deal with camel_mime_filter_charset_new_convert returning NULL. (Every
* mail-format.c (get_data_wrapper_text): Deal with
	camel_mime_filter_charset_new_convert returning NULL. (Every other
	call to it does, and something's wrong with iconv on the Sun right
	now so it keeps failing.)

svn path=/trunk/; revision=13214
2001-09-28 15:33:45 +00:00
7aa81a66d9 Use camel_address_format, not camel_address_encode.
2001-09-26  Jon Trowbridge  <trow@ximian.com>

        * mail-format.c (write_address): Use camel_address_format,
        not camel_address_encode.

svn path=/trunk/; revision=13174
2001-09-26 23:20:05 +00:00
1bb2bd5d72 Decode our URL before extracting the address to pop up contact info.
2001-09-26  Jon Trowbridge  <trow@ximian.com>

	* mail-display.c (html_button_press_event): Decode our URL before
	extracting the address to pop up contact info.

	* mail-format.c (write_address): When writing out a mailto: link,
	make sure we construct a valid URL w/ correct encoding.  Make sure
	our address is properly quoted, if necessary.

svn path=/trunk/; revision=13160
2001-09-26 19:44:47 +00:00
f06f7a2836 Update to not send the remember-passphrase option to the context, it
2001-09-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (decode_pgp): Update to not send the
	remember-passphrase option to the context, it doesn't need it
	anymore.
	(try_inline_pgp_sig): Same.

	* mail-accounts.c (construct): The remember-passphrase option is
	no longer there. This can now be set on the passphrase prompt
	dialog.
	(construct): Add confirm expunge options.

	* mail-config.c (config_read): We no longer read-in the
	remember-passphrase state because we no longer need it.
	(mail_config_write_on_exit): We no longer save it either.
	(mail_config_get_remember_pgp_passphrase): Removed.
	(mail_config_set_remember_pgp_passphrase): Removed.

	* mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we
	need to send the remember passphrase state to the pgp context.
	(mail_crypto_pgp_mime_part_verify): Same.
	(mail_crypto_pgp_mime_part_encrypt): Here too.
	(mail_crypto_pgp_mime_part_decrypt): And here.

svn path=/trunk/; revision=13139
2001-09-26 00:09:09 +00:00
6dc2b5fac8 If the data wrapper contains raw text, treat the contents as if they were
2001-09-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (get_data_wrapper_text): If the data wrapper
	contains raw text, treat the contents as if they were in the
	user's default charset and convert them to UTF-8.

svn path=/trunk/; revision=13119
2001-09-25 20:49:26 +00:00
4
9a864d05fe Removed unused variables.
2001-09-24    <NotZed@Ximian.com>

        * mail-local.c (mls_get_folder): Removed unused variables.

        * component-factory.c (storage_create_folder): Remove unused
        variable.

        * mail-format.c (write_default_header): Used to write a header
        that we know about/normally print.  Use a static header table to
        index these.
        (write_header): removed.
        (default_header_index): Return the index of the default header.
        (write_headers): Changed the way it writes headers a bit.  Use
        write_default_header or write_text_header directly.  Also try and
        use the header charset as a fallback if the header can't be
        decoded using the locale charset.

svn path=/trunk/; revision=13097
2001-09-24 19:31:36 +00:00
b5bf3f9615 Make a neater error report
svn path=/trunk/; revision=13016
2001-09-20 20:10:49 +00:00
704f596da3 Call mail_content_loaded here rather than blocking if the message data
* mail-format.c (mail_format_raw_message): Call
	mail_content_loaded here rather than blocking if the message data
	isn't available.

svn path=/trunk/; revision=12949
2001-09-18 20:05:28 +00:00
04bb635647 Make sure that the charset_filter is non-NULL before using it since iconv
2001-09-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_inline_pgp_sig): Make sure that the
	charset_filter is non-NULL before using it since iconv may fail.

svn path=/trunk/; revision=12801
2001-09-13 17:42:25 +00:00
8e92271ad5 kill off some warnings
svn path=/trunk/; revision=12697
2001-09-08 00:14:17 +00:00
aecfa56f02 Give the full path of the wax-seal icons. (try_inline_pgp_sig): Convert
2001-09-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): Give the full path of
	the wax-seal icons.
	(try_inline_pgp_sig): Convert the charset from UTF-8 to whatever
	charset it should be. Now takes a CamelMimePart argument as well.
	(try_uudecoding): Now takes a part argument as well.
	(try_inline_pgp): Here too.
	(try_binhex): And finally here.
	(handle_text_plain): Pass along the mime part to the try_*
	functions.

svn path=/trunk/; revision=12688
2001-09-07 21:30:58 +00:00
c0ea8aa685 Give the full path of the wax-seal icons.
2001-09-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): Give the full path of
	the wax-seal icons.

svn path=/trunk/; revision=12684
2001-09-07 20:46:08 +00:00
e243f47a72 Fix a bunch of replying/forwarding-related formatting bugs.
2749 - Message text not included in reply, but html attachment is
	4294 - "forward inline" should quote the same headers as the
	       normal mail display
	6100 - Reply to a forwarded email displays email headers
	7255 - Replying to HTML message
	7527 - replying to forwarded message w/ attachments does the wrong
	       thing

	* mail-format.c (mail_get_message_rfc822): New function to get
	message headers and body together, for inline forwards, or replies
	containing attached messages.
	(mail_get_message_body): Redo this to always return HTML, but keep
	the "want_plain" flag, to decide whether to return HTML that looks
	like HTML or HTML that looks like plain text. Use
	mail_get_message_rfc822 to handle attached message/rfc822 parts.
	Don't include the text of vcard or icalendar attachments. Don't
	fail to include text parts just because we found an HTML part.
	(Since we're always returning HTML now, this doesn't cause
	problems any more.)

	* mail-tools.c (mail_tool_quote_message): Simplify greatly.
	mail_get_message_body always returns HTML now, and we let it take
	care of prepending "> "s too. We then let GtkHTML deal with
	converting the HTML to plain text if the user wants to reply in
	plain text.
	(mail_tool_forward_message): Simplify this a ton too: parts of it
	are moved into mail_get_message_rfc822 and parts are now
	unnecessary.

	* mail-callbacks.c (do_forward_non_attached): Call
	mail_tool_forward_message here always, and let it do the "> "
	quoting in the "quoted" case, so that we get the headers too when
	forwarding quoted. Related to bug #4294.

svn path=/trunk/; revision=12657
2001-09-06 20:10:02 +00:00
0320961855 This patch should avoid flashing when loading images into mail view, credits
go to Dan, Larry and me ;)
(fixes ximian #6680)

2001-09-06  Radek Doulik  <rodo@ximian.com>

	* everywhere updated for new mail_content_loaded definition
	(prototype)

2001-09-05  Radek Doulik  <rodo@ximian.com>

	* mail-display.c (mail_display_redisplay): increase
	redisplay_counter
	(try_part_urls): new helper function
	(try_data_urls): ditto
	(load_content_loaded): if it has stream handle available and if
	it's still valid, it writes to this stream instead of
	redisplaying, uses try_part_urls and try_data_urls

	* mail-display.h: added redisplay_counter to MailDisplay, I use
	it in load_content_loaded to be sure that there wasn't any
	redisplay and that remembered handle is still valid

	* mail-display.c (on_url_requested): don't end stream with error
	if part is not loaded yet
	(on_url_requested): don't end stream in cases when we are going to
	load image using http
	(stream_write_or_redisplay_when_loaded): new helper function,
	which is extracted from mail_display_redisplay_when_loaded. it's
	extended to handle gtkhtml stream writting
	(mail_display_redisplay_when_loaded): use
	stream_write_or_redisplay_when_loaded
	(mail_display_stream_write_when_loaded): new function, uses
	stream_write_or_redisplay_when_loaded
	struct _load_content_msg: added handle, url and redisplay_counter
	fields

	* mail-format.c (mail_content_loaded): added redisplay, url and
	handle parameter for case when we are loading image content and
	want it write to stream instead of redisplaying

svn path=/trunk/; revision=12633
2001-09-05 22:13:05 +00:00
c59635b5a9 Fixed a memory leak. (message_browser_new): Added a comment as to why ,
2001-08-30  Jeffrey Stedfast  <fejj@ximian.com>

	* message-browser.c (message_browser_message_loaded): Fixed a
	memory leak.
	(message_browser_new): Added a comment as to why , after
	reparenting, we do not unref the mail_display.
	(message_browser_destroy): Don't call gtk_widget_destroy() on the
	message_list here.

svn path=/trunk/; revision=12531
2001-08-30 19:16:02 +00:00
a6a5660ead We want wax-seal.png instead, since I added the png files to cvs and
2001-08-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): We want wax-seal.png
	instead, since I added the png files to cvs and renamed it to
	wax-seal.png.

svn path=/trunk/; revision=12180
2001-08-17 21:33:52 +00:00
bc36738ca4 oops, s/#ifdef/#endif
svn path=/trunk/; revision=11654
2001-08-04 19:05:42 +00:00
27556a45c2 Add yet another special-case hack for application/pgp.
2001-08-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_part_is_inline): Add yet another
	special-case hack for application/pgp.

svn path=/trunk/; revision=11652
2001-08-04 19:00:40 +00:00
4baef8309f Try to restore the choice the user had chosen before hitting the "Check
2001-08-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (build_auth_menu): Try to restore the choice
	the user had chosen before hitting the "Check Supported Types"
	button.

	* mail-format.c (write_headers): Removed a no-longer-needed
	g_warning.

svn path=/trunk/; revision=11625
2001-08-03 21:37:00 +00:00
1b595a7e2f When writing out a CamelException to the HTML stream, be sure to translate
2001-07-30  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (decode_pgp): When writing out a CamelException to
	the HTML stream, be sure to translate it first.
	(handle_message_external_body): Convert to UTF8 here too - I know
	this function is basically a dead end right now but eventually we
	will want to do something. I mostly did this because param values
	are UTF8 encoded so we should avoid mixing and matching UTF with
	non UTF8.
	(format_mime_part): Avoid writing non-UTF8 to the HTML stream.

	* mail-tools.c (mail_tool_make_message_attachment): Convert
	translated strings to UTF8 here too.
	(mail_tool_forward_message): Here too.

2001-07-23  Zbigniew Chyla  <cyba@gnome.pl>

	* mail-format.c (attachment_header, write_address, decode_pgp,
	mail_write_authenticity):
	Convert translated strings to UTF8 before calling mail_html_write.

	I modified the patch slightly and cleaned up bits of code around
	it as well. For example, we probably want to avoid having HTML
	tags in the strings to be translated. -- fejj

svn path=/trunk/; revision=11490
2001-07-30 21:28:33 +00:00
4eb5c51d15 Implemented. (setup_mime_tables): Setup the application/pgp handler to use
2001-07-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_application_pgp): Implemented.
	(setup_mime_tables): Setup the application/pgp handler to use
	handle_application_pgp instead of handle_text_plain.
	(handle_text_plain): Remove special-case hacks for application/pgp
	types.

svn path=/trunk/; revision=11434
2001-07-26 21:15:30 +00:00
ad7a5a9095 Respect Gtk theme colors for the fonts and calculate a new table gbcolor
2001-07-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (write_headers): Respect Gtk theme colors for the
	fonts and calculate a new table gbcolor based on gtk theme
	preferences.

	* mail-config.glade: Label the enabled field.

svn path=/trunk/; revision=11431
2001-07-26 19:17:20 +00:00
1dc80dc379 check_specials if this is an application/pgp type as well.
2001-07-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_plain): check_specials if this is an
	application/pgp type as well.

svn path=/trunk/; revision=11357
2001-07-24 21:51:04 +00:00
8a361c78f0 Don't expunge the source folder if we have a cache.
2001-07-20  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (filter_folder_filter): Don't expunge the source
	folder if we have a cache.

svn path=/trunk/; revision=11264
2001-07-20 18:25:45 +00:00
de5890b84b Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted part
2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_part_toggle_displayed): Cleaned up a bit.
	(handle_multipart_encrypted): Replace the encrypted part with the
	decrypted part.

svn path=/trunk/; revision=11166
2001-07-17 19:51:41 +00:00
53996fb559 Use our own display_style member instead of the global setting.
2001-07-16  Peter Williams  <peterw@ximian.com>

	* mail-display.c (mail_display_redisplay): Use our own display_style
	member instead of the global setting.
	(mail_display_init): Initialize display_style.

	* mail-display.h: Include "mail-config.h" and add a display_style member.

	* mail-format.c (write_headers): Look at the MailDisplay's display_style
	instead of using the full_headers data.

	* folder-browser.c (folder_browser_set_message_display_style): Set
	the MailDisplay's display style as well as the global display
	style.
	(my_folder_browser_init): Don't save preference changes by default. (This
	is only observered wrt. the message display style but should apply to other
	items.)

	* folder-browser-factory.c (folder_browser_factory_new_control): Set this
	FB to save the preferences set in it.

	* folder-browser-ui.c (folder_browser_ui_add_message): Read our display's
	state instead of the global setting.

svn path=/trunk/; revision=11131
2001-07-16 18:32:10 +00:00
6079b3a345 Took the logic of whether or not to make the attachment header out of the
2001-07-10  Peter Williams  <peterw@ximian.com>

	* mail-format.c (attachment_header): Took the logic of whether or not
	to make the attachment header out of the actual function.
	(mail_part_is_displayed_inline): Return if the part is being displayed
	inline (regardless of whether it is actually inline).
	(mail_part_toggle_displayed): Toggle whether it's displayed inline or not.
	(get_inline_flags): Determine whether the part is displayed inline and whether
	it is actually inline.
	(mail_format_mime_message): Initialize the attachment_status hash table.

	* mail-display.c (inline_cb): Instead of modifying the CamelMimePart,
	use mail_part_toggle_displayed
	(button_press): As above.
	(pixmap_press): Use mail_part_is_displayed_inline instead of
	mail_part_is_inline. Get the MailDisplay from the popup to do this.

	* mail.h: Add prototypes.

svn path=/trunk/; revision=10960
2001-07-10 18:05:25 +00:00
439bc7a3ec Handle application/pgp using the text/plain handler.
2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (setup_mime_tables): Handle application/pgp using
	the text/plain handler.

	* mail-account-gui.c (get_sensitive_widget): New function to determine
	which widget is focused.

	* mail-account-editor.c (apply_changes): Not only flip to the
	notebook page that wasn't finished, but also grab the focus of the
	incomplete widget.

	* mail-config-druid.c (source_changed): Grab the focus of the
	incomplete widget.
	(transport_prepare): And here.
	(identity_changed): Here too.

	* mail-account-gui.c (mail_account_gui_identity_complete): Take an
	incomplete argument so we can set which widget is incomplete and
	then the caller can focus it or whatever.
	(service_complete): Same.
	(mail_account_gui_transport_complete): And again here.
	(mail_account_gui_management_complete): And here too.

svn path=/trunk/; revision=10939
2001-07-09 23:55:02 +00:00
25efa799ee Update to pass in the `remember' argument when creating a new pgp context.
2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (decode_pgp): Update to pass in the `remember'
	argument when creating a new pgp context.
	(try_inline_pgp_sig): And here...

	* mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass
	in the `remember' argument when creating a new pgp context.
	(mail_crypto_pgp_mime_part_verify): Same.
	(mail_crypto_pgp_mime_part_encrypt): And here...
	(mail_crypto_pgp_mime_part_decrypt): And finally here.

	* mail-config.c (mail_config_get_remember_pgp_passphrase): New.
	(mail_config_set_remember_pgp_passphrase): New.
	(config_read): Read in the "remember passphrase" value.
	(mail_config_write_on_exit): Save the remember-passphrase value.

	* mail-accounts.c (construct): Allow the user to set "Remember PGP
	Passphrase".
	(remember_pgp_passphrase_toggled): Set the toggle state.

svn path=/trunk/; revision=10934
2001-07-09 21:39:38 +00:00
a9c8e8d594 Use gnome_vfs_mime_get_short_list_applications rather than
* mail-format.c (mail_lookup_handler): Use
	gnome_vfs_mime_get_short_list_applications rather than
	gnome_vfs_mime_get_default_application.

	* mail-display.c (pixmap_press): Construct the EPopupMenu array on
	the fly, based on the number of applications available to open the
	MIME type.
	(launch_cb): Figure out which menu item was clicked, and invoke
	the appropriate application. Ugh, messy, because of the EPopupMenu
	interface. Probably should get rewritten some day. Also, make this
	handle apps with expects_uris set too.

svn path=/trunk/; revision=10916
2001-07-09 16:37:04 +00:00
0995aedae9 Prevent infinite recursion when viewing attachments that we can't /
2001-07-06  Peter Williams  <peterw@ximian.com>

	* mail-format.c (format_mime_part): Prevent infinite recursion when
	viewing attachments that we can't / shouldn't display but are some
	form of plaintext. Cf bug #2234

svn path=/trunk/; revision=10857
2001-07-06 20:28:39 +00:00
7364da6315 (write_field_row_begin): hmm, use just bold &nbsp; as it looks
better

svn path=/trunk/; revision=10288
2001-06-19 14:23:15 +00:00
131c4514f7 add column with &nbsp; between header name and value
2001-06-19  Radek Doulik  <rodo@ximian.com>

	* mail-format.c (write_field_row_begin): add column with &nbsp;
	between header name and value

svn path=/trunk/; revision=10286
2001-06-19 14:07:04 +00:00
3be10cec05 (mail_format_raw_message): Add padding to match the formatted
display.

svn path=/trunk/; revision=10262
2001-06-18 14:41:45 +00:00
b461c51f7c We can't output "<html>" and "</html>" here because it gets called
* mail-format.c (mail_format_mime_message): We can't output
	"<html>" and "</html>" here because it gets called recursively to
	display message/rfc822 subparts.

	* mail-display.c (mail_display_redisplay): Move rodo's html header
	changes from mail_format_mime_message to here.

svn path=/trunk/; revision=10252
2001-06-15 16:55:10 +00:00
bd19a9d79d make HTML and plain mails to have the same boundary
2001-06-05  Radek Doulik  <rodo@ximian.com>

	* mail-format.c: make HTML and plain mails to have the same
	boundary

svn path=/trunk/; revision=10115
2001-06-05 12:37:31 +00:00
e6b36266c7 Removed the code to check for the validity of an S/MIME part. Stuff works
2001-05-31  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Removed the code to
	check for the validity of an S/MIME part. Stuff works differently
	now.

	* mail-crypto.c: Rewrote how the S/MIME stuff is going to work.

svn path=/trunk/; revision=10066
2001-05-31 20:37:06 +00:00
353f8187b8 Fix a bug that could cause a crash on messages with an empty subject.
* mail-format.c (write_text_header): Fix a bug that could cause a
	crash on messages with an empty subject. Oops.

svn path=/trunk/; revision=10034
2001-05-28 21:23:32 +00:00
13a77e6d08 Fix to work properly. (handle_multipart_signed): Fixed a bug that caused
2001-05-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_inline_pgp_sig): Fix to work properly.
	(handle_multipart_signed): Fixed a bug that caused some
	multipart/signed messages to be handled by the multipart_mixed
	handler.

svn path=/trunk/; revision=10016
2001-05-26 22:37:24 +00:00
6f7c4bf1ae Fix to work properly.
2001-05-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_inline_pgp_sig): Fix to work properly.

svn path=/trunk/; revision=10015
2001-05-26 21:53:42 +00:00
5a52cf9cf2 Only write the message up to (but not including) the attached signature
2001-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_inline_pgp_sig): Only write the message up to
	(but not including) the attached signature block.

svn path=/trunk/; revision=9967
2001-05-24 21:15:04 +00:00
70c02ec888 New convenience function for all signature verification functions to use
2001-05-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): New convenience
	function for all signature verification functions to use to
	display whether or not the signed part was authentic.
	(try_inline_pgp_sig): Use mail_write_authentic().
	(handle_multipart_signed): Add code to handle S/MIME
	multipart/signed parts and also use mail_write_authenticity().

svn path=/trunk/; revision=9872
2001-05-17 18:51:17 +00:00