Is there a way to intercept Windows Mail at send time? I will be using Visual Studio C#. At the point of send I want to modify the ReplyTo header. Is there some form of MAPI hook lying around?
Is there a way to intercept Windows Mail at send time? I will be using Visual Studio C#. At the point of send I want to modify the ReplyTo header. Is there some form of MAPI hook lying around?
Hi,
Why would you want to do that?
Just change it before you send it!
Because this is an automated system and each email will have a specific ReplyTo address. When an email is send back using a specific address it identifies the sender.
This is not my exact scenario but...
A company (let's imagine its Ford) sets up a domain FordFeedback.com and sends messages to a customer saying if you have feedback then please reply here. And if that5 person does it goes to A5F7003@FordFeedback.com. Another customer has has a different email address. The reality is that they all go to the same customer service department. If any given email address becomes harvested it is easy to bounce the subsequent spam. However if they all went to feedback@fordfeedback.com then that would not be possible.
Hi,
I'm not sure that is possible or even ethical.
Could you not just do it the same way that independant radio stations have people
"Start your message with: - Ford
statement"?
Could you then filter that out & redirect?
You could place a "Statement to tell people not to reply to this message". Then direct them to a link in the feedback request message which replies to the correct address.
This would allow traceability, prevent Spam messages & give the desired result?
<< I'm not sure that is possible or even ethical. >>
Possible? That's question I'm asking - is it possible?
Ethical? Yes it is. If you wanted, you could manually alter your own Reply-To address for every message you send. This is true of every e-mail client I know. It is a perfectly acceptable field to modify as per RFC 2076 (or whatever it is now). MAPI gives you complete freedom over this.
I use MAPI in programs like this one...
MonitorRouterIP
as well as some backup routines. I have a justifiable, legal and ethical reason.
So as I asked - can MAPI be intercepted at send time for Windows Mail (or for any mail client in fact) ?
Well,
From that link, other than the DNS update, which sounds reasonable. I am still struggling to see the reason for changing the reply to message bit other than "Spamming", Sorry!
After all it is your router right?
Although it looks as though it can be caught in VB from Outlook via exchange & therefore it should be possible in C# if used in the same way?
Changing the reply-to is acceptable. In no way does it have to match originating sender or From header. Many people have multiple google, hotmail, yahoo and whatever email accounts and set the all the Reply-To to (say) their ISP email address. That is not spammy.
I only pointed out the link so you could see that I run an SMTP server, do not hide my name either online or in the domains I have. I could write MAPI emails with just about anything I want in the headers. Given a bit of time I could probably spoof my MAC address.
So if you could give me a link to the information you have then I would be grateful.
OK,
Here is a link for VB/ C# but the senario is not an exact match to your needs.
http://social.technet.microsoft.com/Forums/en/exchangesvrdevelopment/thread/1e0fd9a3-d392-4732-b4a4-d9d7ca3490b0
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: help configuring Live mail first time, seems I can't send or receive | Benton J Elkins | Vista mail | 0 | 02 Nov 2009 |
| Vista Windows Mail minimizes every time I send an email | ripitup | Vista mail | 0 | 29 Mar 2009 |
| Send and Receive only works first time I open Windows Mail | Kate Katch | Vista mail | 10 | 11 Jul 2007 |
| Each time I send mail, I'm sending two of the same email? | jupa1053 | Vista mail | 1 | 17 Jun 2007 |
| Intercepting WCF method invocation | Stephan Zahariev | Indigo | 4 | 23 Mar 2007 |