1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* camel-sendmail-provider.c: sendmail provider registration code */
6 * Dan Winship <danw@ximian.com>
8 * Copyright (C) 2000 Ximian, Inc. (www.ximian.com)
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of version 2 of the GNU Lesser General Public
12 * License as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
29 #include <glib/gi18n-lib.h>
31 #include "camel-provider.h"
32 #include "camel-sendmail-transport.h"
33 #include "camel-session.h"
34 #include "camel-url.h"
36 static CamelProvider sendmail_provider = {
40 N_("For delivering mail by passing it to the \"sendmail\" program "
41 "on the local system."),
53 camel_provider_module_init(void)
55 sendmail_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_sendmail_transport_get_type();
57 sendmail_provider.url_hash = camel_url_hash;
58 sendmail_provider.url_equal = camel_url_equal;
59 sendmail_provider.translation_domain = GETTEXT_PACKAGE;
61 camel_provider_register(&sendmail_provider);