aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c8
1 files changed, 3 insertions, 5 deletions
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));