From a979df3778682adb6f90ef3477e62fc077a8e9b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 25 May 2000 17:42:53 +0000 Subject: Took out code that had been there to reconnect to the server if it was not 2000-05-25 Jeffrey Stedfast * 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 --- camel/providers/smtp/camel-smtp-transport.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'camel/providers/smtp') 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, -- cgit v1.2.3