|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Phil Daws (phil
netmetrics.co.uk)Date: Thu Nov 01 2001 - 07:52:15 CST
Hi:
There is a set of tools called I think MIME::Tools this will do what you
want in Perl.
cheers
Phil
-----Original Message-----
From: owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org]On Behalf Of Ryan Sweat
Sent: 01 November 2001 13:25
To: postfix-users
postfix.org
Subject: RE: Large amounts of email
>>
>> Is there a way to inject email into postfix's queue directly, or
another
>> method which may be more practical?
>Yes, via SMTP. That's faster. Use Perl's Net::SMTP for example.
The problem I have found with Net::SMTP is that it wants the headers
declared in a separate field than the body. In the past I was able to
pipe
the entire email to sendmail. Is anyone aware of existing code or a
module
to 'extract' the headers (To:, From:, Subject:, Cc:, and Bcc: fields)
from a
file and convert it into something that Net::SMTP can use?
Thanks,
-Ryan
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]