Intercepting Windows mail at send time

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?
 

My Computer

Hi,

Why would you want to do that?

Just change it before you send it!
 

My Computer

System One

  • Manufacturer/Model
    HP-Pavilion m9280.uk-a
    CPU
    2.30 gigahertz AMD Phenom 9600 Quad-Core
    Motherboard
    ASUSTek Computer INC. NARRA3 3.02
    Memory
    3582 Megabytes Usable Installed Memory (4 Gig)
    Graphics Card(s)
    ASUS NVIDIA Geforce GTS450
    Sound Card
    Realtek High Definition 7.1 Audio (HP drivers)
    Monitor(s) Displays
    HP w2408 24.0" (Dual monitor)
    Screen Resolution
    1920 * 1200, 1920 * 1200
    Hard Drives
    3*500 Gigabytes Usable Hard Drive Capacity
    Plus 2x USB (160Gig each) external HDD
    BluRay & DVD Weiters
    HL-DT-ST BD-RE GGW-H20L SCSI CdRom (Bluray RW) Device
    AlViDrv BDDVDROM SCSI CdRom (Blueray) Device
    TSSTcorp CDDVDW TS-H653N SCSI CdRom
    Internet Speed
    40 Meg
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 [email protected]. 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 [email protected] then that would not be possible.
 

My Computer

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?
 

My Computer

System One

  • Manufacturer/Model
    HP-Pavilion m9280.uk-a
    CPU
    2.30 gigahertz AMD Phenom 9600 Quad-Core
    Motherboard
    ASUSTek Computer INC. NARRA3 3.02
    Memory
    3582 Megabytes Usable Installed Memory (4 Gig)
    Graphics Card(s)
    ASUS NVIDIA Geforce GTS450
    Sound Card
    Realtek High Definition 7.1 Audio (HP drivers)
    Monitor(s) Displays
    HP w2408 24.0" (Dual monitor)
    Screen Resolution
    1920 * 1200, 1920 * 1200
    Hard Drives
    3*500 Gigabytes Usable Hard Drive Capacity
    Plus 2x USB (160Gig each) external HDD
    BluRay & DVD Weiters
    HL-DT-ST BD-RE GGW-H20L SCSI CdRom (Bluray RW) Device
    AlViDrv BDDVDROM SCSI CdRom (Blueray) Device
    TSSTcorp CDDVDW TS-H653N SCSI CdRom
    Internet Speed
    40 Meg
<< 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) ?
 

My Computer

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?
 

My Computer

System One

  • Manufacturer/Model
    HP-Pavilion m9280.uk-a
    CPU
    2.30 gigahertz AMD Phenom 9600 Quad-Core
    Motherboard
    ASUSTek Computer INC. NARRA3 3.02
    Memory
    3582 Megabytes Usable Installed Memory (4 Gig)
    Graphics Card(s)
    ASUS NVIDIA Geforce GTS450
    Sound Card
    Realtek High Definition 7.1 Audio (HP drivers)
    Monitor(s) Displays
    HP w2408 24.0" (Dual monitor)
    Screen Resolution
    1920 * 1200, 1920 * 1200
    Hard Drives
    3*500 Gigabytes Usable Hard Drive Capacity
    Plus 2x USB (160Gig each) external HDD
    BluRay & DVD Weiters
    HL-DT-ST BD-RE GGW-H20L SCSI CdRom (Bluray RW) Device
    AlViDrv BDDVDROM SCSI CdRom (Blueray) Device
    TSSTcorp CDDVDW TS-H653N SCSI CdRom
    Internet Speed
    40 Meg
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.
 

My Computer

My Computer

System One

  • Manufacturer/Model
    HP-Pavilion m9280.uk-a
    CPU
    2.30 gigahertz AMD Phenom 9600 Quad-Core
    Motherboard
    ASUSTek Computer INC. NARRA3 3.02
    Memory
    3582 Megabytes Usable Installed Memory (4 Gig)
    Graphics Card(s)
    ASUS NVIDIA Geforce GTS450
    Sound Card
    Realtek High Definition 7.1 Audio (HP drivers)
    Monitor(s) Displays
    HP w2408 24.0" (Dual monitor)
    Screen Resolution
    1920 * 1200, 1920 * 1200
    Hard Drives
    3*500 Gigabytes Usable Hard Drive Capacity
    Plus 2x USB (160Gig each) external HDD
    BluRay & DVD Weiters
    HL-DT-ST BD-RE GGW-H20L SCSI CdRom (Bluray RW) Device
    AlViDrv BDDVDROM SCSI CdRom (Blueray) Device
    TSSTcorp CDDVDW TS-H653N SCSI CdRom
    Internet Speed
    40 Meg
Back
Top