|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ryan Sweat (ryans
cecentertainment.com)Date: Thu Nov 01 2001 - 07:24:58 CST
>>
>> 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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]