G
Guest
Hello colleagues,
I want to use the SaveAs method in the _MailItem interface to save a mail to
a non physical path.
I tried to pass a Named Pipe name \\\\.\\PIPE\\pipename but the function
fails.
To understand why I want this, now I save the mail to a temp location, e.g
“C:\Temp\†then read the file, then store data in a Data Base.
The problem is the time wasting in writing the temp file and then reading.
So, I’m thinking in a way to store the mail on memory to speed up the
process. I guess that the SaveAs() uses the CreateFile() API, and in the
documentation of the CreateFile() I found that it can take a Named Pipe name.
But as a result it seems NOooooooooooo…
Now, can anyone help me improving my application?
I want to use the SaveAs method in the _MailItem interface to save a mail to
a non physical path.
I tried to pass a Named Pipe name \\\\.\\PIPE\\pipename but the function
fails.
To understand why I want this, now I save the mail to a temp location, e.g
“C:\Temp\†then read the file, then store data in a Data Base.
The problem is the time wasting in writing the temp file and then reading.
So, I’m thinking in a way to store the mail on memory to speed up the
process. I guess that the SaveAs() uses the CreateFile() API, and in the
documentation of the CreateFile() I found that it can take a Named Pipe name.
But as a result it seems NOooooooooooo…
Now, can anyone help me improving my application?