Home All Groups Group Topic Archive Search About
Author
14 Oct 2005 11:05 AM
Ondrej Srubar
Hello,
I generate a pdf file and I want to send it as mail attachment without
saving it to a disk. And the class MailAttachment has only the property
Filename. Is there any solution?

Ondrej Srubar

Author
14 Oct 2005 11:18 AM
Ondrej Srubar
I have the Framework v1.1
Ondrej Srubar

Show quote
"Ondrej Srubar" wrote:

> Hello,
> I generate a pdf file and I want to send it as mail attachment without
> saving it to a disk. And the class MailAttachment has only the property
> Filename. Is there any solution?
>
> Ondrej Srubar
Author
14 Oct 2005 11:30 AM
Ivar
Hi,

You may try:
http://www.codeproject.com/csharp/Mime_project.asp

With it you can constuct all kind of messages as you like (you can set data
from file,byte[], stream).

Show quote
"Ondrej Srubar" <OndrejSru***@discussions.microsoft.com> wrote in message
news:CADB4D54-7F36-4D47-9C48-395A0AD05CB0@microsoft.com...
> Hello,
> I generate a pdf file and I want to send it as mail attachment without
> saving it to a disk. And the class MailAttachment has only the property
> Filename. Is there any solution?
>
> Ondrej Srubar
Author
17 Oct 2005 10:11 AM
Dirc Khan-Evans
Ondrej Srubar wrote:

> Hello,
> I generate a pdf file and I want to send it as mail attachment
> without saving it to a disk. And the class MailAttachment has only
> the property Filename. Is there any solution?
>
> Ondrej Srubar

No.. this is not build into the BCL as provided by MS.. the only
options are to build it yourself or buy a third party library.

The advanced Advanced MIME Parser/Creator/Editor looks interesting
(http://www.codeproject.com/csharp/Mime_project.asp), but I haven't
tried it as yet.

Dirc
--

AddThis Social Bookmark Button