943,563 Members | Top Members by Rank

Ad:
Jun 8th, 2008
0

Hooking SMTP Server

Expand Post »
Hi there.
All mail sent through the SMTP server, i need to modify the message being sent through.
I already have a PHP script to send MIME emails with embedded images for HTML meails. However this can be re-created in C,bash,perl.
What i need is a script to modify the message being sent to SMTP and return it to SMTP, or stop the SMTP process, and do all the sending from my script.

Purpose of this is to have a pre-defined HTML template, and when users send plain text through, to wrap the HTML template around that.

Maybe i'm going about it all wrong, so i thought i'd get some feedback from someone.

Thanks.
Reputation Points: 35
Solved Threads: 5
Junior Poster
dr4g is offline Offline
136 posts
since Apr 2007
Jul 31st, 2008
0

Re: Hooking SMTP Server

Why don't you just take the user input, add it to the HTML template and send?

I'm missing something, because from your explanation it sounds like you have all the tools you need.

Get the text message. Take HTML template. Search and replace template with text message, sender, receiver, etc. Send.
Last edited by Belrog; Jul 31st, 2008 at 10:43 am.
Reputation Points: 11
Solved Threads: 4
Junior Poster in Training
Belrog is offline Offline
71 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Security & Forensics Software
Next Thread in Linux Applications and Software Forum Timeline: My dmesg output





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC