diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-16 03:22:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-16 03:22:14 +0800 |
commit | b238693b64aa877efe1d0d09aa8129748be095ed (patch) | |
tree | 96b6a2ba9ddc58a653f0d03564b3faa8d77d5583 /camel/camel-transport.c | |
parent | 811c9c4acdc308b55d38dda2fda2e30433cd5e5b (diff) | |
download | gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar.gz gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar.bz2 gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar.lz gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar.xz gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.tar.zst gsoc2013-evolution-b238693b64aa877efe1d0d09aa8129748be095ed.zip |
Updated to match the new send_to API. (smtp_send): Get the from address
2002-01-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_send_to): Updated to
match the new send_to API.
(smtp_send): Get the from address and pass that along to
smtp_send_to().
* providers/sendmail/camel-sendmail-transport.c
(sendmail_send_to): Updated to match the new send_to API.
* camel-transport.c (camel_transport_send_to): Now takes a from
argument too.
svn path=/trunk/; revision=15328
Diffstat (limited to 'camel/camel-transport.c')
-rw-r--r-- | camel/camel-transport.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/camel-transport.c b/camel/camel-transport.c index 00b2a31837..513a28b30e 100644 --- a/camel/camel-transport.c +++ b/camel/camel-transport.c @@ -122,6 +122,7 @@ camel_transport_send (CamelTransport *transport, CamelMedium *message, * camel_transport_send_to: Send a message non-standard recipients * @transport: the transport * @message: the message + * @from: from address * @recipients: the recipients * @ex: a CamelException * @@ -132,7 +133,8 @@ camel_transport_send (CamelTransport *transport, CamelMedium *message, **/ gboolean camel_transport_send_to (CamelTransport *transport, CamelMedium *message, - CamelAddress *recipients, CamelException *ex) + CamelAddress *from, CamelAddress *recipients, + CamelException *ex) { gboolean sent; @@ -140,7 +142,7 @@ camel_transport_send_to (CamelTransport *transport, CamelMedium *message, CAMEL_TRANSPORT_LOCK (transport, send_lock); sent = CT_CLASS (transport)->send_to (transport, message, - recipients, ex); + from, recipients, ex); CAMEL_TRANSPORT_UNLOCK (transport, send_lock); return sent; |