aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-26 04:02:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-26 04:02:33 +0800
commit6c0fded334bf9c7a2b7142cae6ee372afe2026be (patch)
treed7f04a4c7af742c1e9c2a1823a8182011134848a
parent95b711c4cdf8e35b91918841e2ed76a193829315 (diff)
downloadgsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar.gz
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar.bz2
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar.lz
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar.xz
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.tar.zst
gsoc2013-evolution-6c0fded334bf9c7a2b7142cae6ee372afe2026be.zip
Don't put a space between the "RCPT TO:" and the "<recipient>" strings -
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. svn path=/trunk/; revision=16588
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c8
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));