From b238693b64aa877efe1d0d09aa8129748be095ed Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 15 Jan 2002 19:22:14 +0000 Subject: Updated to match the new send_to API. (smtp_send): Get the from address 2002-01-15 Jeffrey Stedfast * 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 --- camel/camel-transport.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'camel/camel-transport.h') diff --git a/camel/camel-transport.h b/camel/camel-transport.h index dbe9c54f38..418fc402a2 100644 --- a/camel/camel-transport.h +++ b/camel/camel-transport.h @@ -60,7 +60,8 @@ typedef struct { gboolean (*send) (CamelTransport *transport, CamelMedium *message, CamelException *ex); gboolean (*send_to) (CamelTransport *transport, CamelMedium *message, - CamelAddress *recipients, CamelException *ex); + CamelAddress *from, CamelAddress *recipients, + CamelException *ex); } CamelTransportClass; @@ -72,9 +73,9 @@ gboolean camel_transport_send (CamelTransport *transport, CamelMedium *message, CamelException *ex); -/* FIXME: This should use a camel-address */ gboolean camel_transport_send_to (CamelTransport *transport, CamelMedium *message, + CamelAddress *from, CamelAddress *recipients, CamelException *ex); -- cgit v1.2.3