aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp/camel-smtp-transport.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-05-26 01:42:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-05-26 01:42:53 +0800
commita979df3778682adb6f90ef3477e62fc077a8e9b8 (patch)
tree91ac1af4e87cc5f0a728d93d1b5ca920056ef75e /camel/providers/smtp/camel-smtp-transport.c
parentda3c570d5e91ceef20d9846946a5bebec5b5fa50 (diff)
downloadgsoc2013-evolution-a979df3778682adb6f90ef3477e62fc077a8e9b8.tar.gz
gsoc2013-evolution-a979df3778682adb6f90ef3477e62fc077a8e9b8.tar.zst
gsoc2013-evolution-a979df3778682adb6f90ef3477e62fc077a8e9b8.zip
Took out code that had been there to reconnect to the server if it was not
2000-05-25 Jeffrey Stedfast <fejj@helixcode.com> * providers/smtp/camel-smtp-transport.c (_send_to): Took out code that had been there to reconnect to the server if it was not already connected - Mailer code was fixed so that this should not be needed. * providers/imap/camel-imap-store.[c,h]: Initial code. svn path=/trunk/; revision=3202
Diffstat (limited to 'camel/providers/smtp/camel-smtp-transport.c')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 771030ed34..3387257015 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -308,12 +308,8 @@ _send_to (CamelTransport *transport, CamelMedium *message,
GList *r;
gchar *recipient, *s, *sender;
guint i, len;
- CamelService *service = CAMEL_SERVICE (transport);
CamelSmtpTransport *smtp_transport = CAMEL_SMTP_TRANSPORT(transport);
- if (!camel_service_is_connected (service))
- smtp_connect (service, ex);
-
s = g_strdup(camel_mime_message_get_from (CAMEL_MIME_MESSAGE(message)));
if (!s) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,