aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/mail-callbacks.c4
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++;