[Pgp-tools-commit] r266 - trunk/caff
Peter Palfrader
weasel at costa.debian.org
Wed Mar 1 15:01:44 UTC 2006
Author: weasel
Date: 2006-03-01 15:01:44 +0000 (Wed, 01 Mar 2006)
New Revision: 266
Modified:
trunk/caff/caff
Log:
Revert r264
Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff 2006-03-01 14:49:51 UTC (rev 265)
+++ trunk/caff/caff 2006-03-01 15:01:44 UTC (rev 266)
@@ -245,15 +245,6 @@
Address to send blind carbon copies to when sending mail.
Default: none.
-=item B<smtp-server> [string]
-
-Send mail through specified SMTP server. Default: none (uses
-sendmail).
-
-=item B<smtp-port> [string]
-
-Use specified port for sending mail to SMTP server. Default : 25.
-
=back
=head1 AUTHORS
@@ -779,14 +770,7 @@
$message_entity->head->add("Reply-To", $CONFIG{'reply-to'}) if defined $CONFIG{'reply-to'};
$message_entity->head->add("Bcc", $CONFIG{'bcc'}) if defined $CONFIG{'bcc'};
$message_entity->head->add("User-Agent", $USER_AGENT);
-
- if($CONFIG{'smtp-server'}) {
- $message_entity->smtpsend(Host => $CONFIG{'smtp-server'},
- ($CONFIG{'smtp-port'} ? (Port => $CONFIG{'smtp-port'}) : ()),
- MailFrom => $CONFIG{'email'});
- } else {
- $message_entity->send();
- }
+ $message_entity->send();
$message_entity->stringify();
};
More information about the Pgp-tools-commit
mailing list