From: Ryan Sweat (no email)
Date: Thu Nov 01 2001 - 08:24:58 EST
>>
>> 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 with content
(not subject): unsubscribe postfix-users
|
|
|