Create amavisd-new custom hook to modify email, for both signature and pre-pended content

ปิด โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

Using the latest version of amavisd-new ([login to view URL]), I need a simple custom hook created that allows me to add a signature to every email, and to add a bit of custom html and/or plain text to every email that passes through the system.

Amavisd-new custom hooks are implemented in perl, and it appears a "before_send" hook is the appropriate place to implement this code. The "[login to view URL]" example in the amavisd-new code demonstrates how these custom hooks work.

This hook needs to:

1. Prepend some content to the beginning of every email.

2. Add a signature to the end of every email.

This must work with both the plain text and HTML portions of an email and support both single and multipart MIME encoded emails.

When modifying the plain text portion of the email, the content added would simply be offset by a string delimiter like "\n---------------\n". When modifying the HTML portion of an email, the new content would be included in a separate div, basically styled to set it apart from the rest of the message.

It must also support scenarios where the body content has been base64 encoded. I've seen this with certain paypal emails, for example, that contain a base64-encoded bit of HTML.

I will provide approximately 10 sample emails that should be tested for compatibility.

The code will need to properly parse out the various MIME boundaries and modify any plain text portions, and parse out any HTML code to properly add the prepended content after any "<body>" tag, and the signature before the closing "</body>" tag, so some basic HTML parsing may be required. You may want to use a cpan module like MIME::Signature or the like to assist.

Email Developer การจัดการอีเมล Linux Perl

หมายเลขโปรเจค: #18846386

เกี่ยวกับโปรเจกต์

4 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 4 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $164

rabhardwaj

I mainly work with API Integration project.I have passion about API. I have been in this field for more than 7 years. i have experience in C#,php,Perl,wordpress,Html,postgress ,Ubuntu,Crontab,Web Services, Rest Api, เพิ่มเติม

$211 USD ใน 3 วัน
(8 รีวิว)
4.0
racer1900

Need Web Development or Business Growing? My experiences range from building responsive software design that work well cross-browser to Business Goal. I am glad to provide full solution to you. We Are in House of Web เพิ่มเติม

$250 USD ใน 3 วัน
(0 รีวิว)
0.0
ysatsana

Dear hiring manager, I will be glad to do this task for you. 1. Do you have amavisd installed already? 2. Do you have a place where I can try to add this hook and send some test letters? 3. What program do you เพิ่มเติม

$166 USD ใน 3 วัน
(0 รีวิว)
0.0