aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/smtp')
-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,