No, you are asking someone to create the code for you and implement it for
you from a to z. Now, unless someone has already that code ready made, I
doubt that someone will create it for you. Also, at the level of detail that
you have posted, no one can produce any code specific to your case.
Also note that this is a support newsgroup. That means that we can help you
on your way, assist you with something or point you to solutions. It is not
that we'll do that work for you although there are some people out here as
well which can be hired on an hourly basis if you want.
That said;
Why would a simple sending rule not work in your case?
Tools-> Rules and Alerts...