| | |
Hooking SMTP Server
![]() |
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.
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.
GardCMS :: Open Source CMS :: Gardcms.org
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.
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.
![]() |
Other Threads in the *nix Software Forum
- Previous Thread: Security & Forensics Software
- Next Thread: My dmesg output
| Thread Tools | Search this Thread |
Tag cloud for *nix Software
2005 apache bashscripting busybox cert codeplex debian dotnetnuke emacs forwarding free fsf gaming gnu government gpl lawsuits license linux ls mail make makefile mandriva microsoft mkisofsiso obama open opensource port postfix ps3 samba security server sflc sharing software source stallman subdirectory ubuntu unix vmware xbox





