diff options
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 207b49cfe0..93e331f462 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2002-04-25 Jeffrey Stedfast <fejj@ximian.com> + + * providers/smtp/camel-smtp-transport.c (smtp_rcpt): Don't put a + space between the "RCPT TO:" and the "<recipient>" strings - + rfc0821 was not clear on this but it seems rfc2821 defines a + grammar excluding that SP. + (smtp_mail): Same. + 2002-04-24 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 2a5640d7ab..aa37ae5e8c 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -1054,11 +1054,10 @@ smtp_mail (CamelSmtpTransport *transport, const char *sender, gboolean has_8bit_ /* we gotta tell the smtp server who we are. (our email addy) */ char *cmdbuf, *respbuf = NULL; - /* enclose address in <>'s since some SMTP daemons *require* that */ if (transport->flags & CAMEL_SMTP_TRANSPORT_8BITMIME && has_8bit_parts) - cmdbuf = g_strdup_printf ("MAIL FROM: <%s> BODY=8BITMIME\r\n", sender); + cmdbuf = g_strdup_printf ("MAIL FROM:<%s> BODY=8BITMIME\r\n", sender); else - cmdbuf = g_strdup_printf ("MAIL FROM: <%s>\r\n", sender); + cmdbuf = g_strdup_printf ("MAIL FROM:<%s>\r\n", sender); d(fprintf (stderr, "sending : %s", cmdbuf)); @@ -1096,8 +1095,7 @@ smtp_rcpt (CamelSmtpTransport *transport, const char *recipient, CamelException * our email to */ char *cmdbuf, *respbuf = NULL; - /* enclose address in <>'s since some SMTP daemons *require* that */ - cmdbuf = g_strdup_printf ("RCPT TO: <%s>\r\n", recipient); + cmdbuf = g_strdup_printf ("RCPT TO:<%s>\r\n", recipient); d(fprintf (stderr, "sending : %s", cmdbuf)); |