Auto BCC
-
I want add BCC all ountgoing and incoming emails. How can i do? I think i have to control SMTP and POP3 port. NOTE : This will be Server application.
I have to ask, why the incredibly long name? Couldn't you just shorten it up to "Greeky Creek" and stop wasting my screen space? If you want a generic implementation that supports all mail applications, you'll have to write an app as a proxy server. The mail application would then log in to your server, which in turn will impersonate the person using his/her credentials, login to the real mail server, download all mail, go through each message and add the appropriate strings to the message, then return the altered mail to the client mail program. The same goes for sending mail. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
I have to ask, why the incredibly long name? Couldn't you just shorten it up to "Greeky Creek" and stop wasting my screen space? If you want a generic implementation that supports all mail applications, you'll have to write an app as a proxy server. The mail application would then log in to your server, which in turn will impersonate the person using his/her credentials, login to the real mail server, download all mail, go through each message and add the appropriate strings to the message, then return the altered mail to the client mail program. The same goes for sending mail. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
First Pls Look Name :D , Second I have a proxy server, Norton checking mails is installed on proxy. I donna how can i catch email network packets to alter? What will do use, socket programming, or net.mail namespace, Do u know any sample ? or any artical about this aim.?_
-
First Pls Look Name :D , Second I have a proxy server, Norton checking mails is installed on proxy. I donna how can i catch email network packets to alter? What will do use, socket programming, or net.mail namespace, Do u know any sample ? or any artical about this aim.?_
Just Greeky Creek wrote: I donna how can i catch email network packets to alter? You don't! You have to write your own proxy server, just like Norton. If you check your email application configuration, you'll notice that it's connecting to your own machine using different ports than the normal POP3 and SMTP. The configuration in Norton is setup to connect to your ISP mail server. You'll be writing something that does exactly the same thing. Except the configuration of your application will be the same as your email application. This will have your application connect to Norton so it can do it's job. The chain will go something like this:
Your email app configuration:
POP3 -> 127.0.0.1 on port 8001
SMTP -> 127.0.0.1 on port 8005
(or whatever ports you pick)Your mail modification app listens on these two ports for connectios from your email app:
POP3 -> listen to 127.0.0.1 on port 8001
SMTP -> listen to 127.0.0.1 on port 8005Your mail modification app will talk to your ISP mail server, in this case, your Norton app on:
POP3 -> talks to 127.0.0.1 on port ???? (whatever Norton is listening on)
SMTP -> talks to 127.0.0.1 on port ???? (whatever Norton is listening on)Norton listens for connections from mail applications, in this case your modification app, on:
POP3 -> listen to 127.0.0.1 on port ???? (whatever it's configured for)
SMTP -> listen to 127.0.0.1 on port ???? (whatever it's configured for)Finally, Norton will talk to your ISP mail server on:
POP3 -> talks to pop3.comcast.net on port 110 (or whatever server your ISP uses)
SMTP -> talks to smtp.comcast.net on port 25 (or whatever server your ISP uses)Essentially, your writing a proxy application that must be both an email server (POP3 and SMTP) and an email client application. There are articles all over the web that discuss and demonstrate both applications independent of each other, but it'll be up to you to figure out how to put them together into one automated application. You'll also what to pickup the RFC documentation on how POP3 and SMTP clients and servers work. You'll need them for this project... You might want to check out this[^] little artcle on CP for ideas behin