diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-01-05 07:12:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-01-05 07:12:17 +0800 |
commit | 980b281b5aa15dc044f49469dff74f63316d864f (patch) | |
tree | e367fbb99e834c69f525a298c4c7bde1b58ee94a | |
parent | 73fa3a6e62f671e34ab1206425c39d8d8b987ba2 (diff) | |
download | gsoc2013-evolution-980b281b5aa15dc044f49469dff74f63316d864f.tar.gz gsoc2013-evolution-980b281b5aa15dc044f49469dff74f63316d864f.tar.zst gsoc2013-evolution-980b281b5aa15dc044f49469dff74f63316d864f.zip |
Use e_destination_get_email() instead of e_destination_get_address() when
2003-01-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Use
e_destination_get_email() instead of e_destination_get_address()
when checking that we have a list of valid recipients to send the
message to because get_email() returns the addr-spec portion of
the address, which is what we care about. if that doesn't exist,
then the address is useless. This does all we can do mailer-side
for the recent "SMTP Problem" thread.
svn path=/trunk/; revision=19236
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 3cfdb7c0f8..6104ca4622 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2003-01-04 Jeffrey Stedfast <fejj@ximian.com> + + * mail-callbacks.c (composer_get_message): Use + e_destination_get_email() instead of e_destination_get_address() + when checking that we have a list of valid recipients to send the + message to because get_email() returns the addr-spec portion of + the address, which is what we care about. if that doesn't exist, + then the address is useless. This does all we can do mailer-side + for the recent "SMTP Problem" thread. + 2003-01-03 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: Fixed some build issues. diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 4b32f5cae5..1401364ed6 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -409,7 +409,7 @@ composer_get_message (EMsgComposer *composer, gboolean post, gboolean save_html_ /* see which ones are visible/present, etc */ if (recipients) { for (i = 0; recipients[i] != NULL; i++) { - const char *addr = e_destination_get_address (recipients[i]); + const char *addr = e_destination_get_email (recipients[i]); if (addr && addr[0]) { num++; @@ -426,7 +426,7 @@ composer_get_message (EMsgComposer *composer, gboolean post, gboolean save_html_ recipients_bcc = e_msg_composer_get_bcc (composer); if (recipients_bcc) { for (i = 0; recipients_bcc[i] != NULL; i++) { - const char *addr = e_destination_get_address (recipients_bcc[i]); + const char *addr = e_destination_get_email (recipients_bcc[i]); if (addr && addr[0]) num_bcc++; |