|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Mail attachment.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 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 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 Ondrej Srubar wrote:
> Hello, No.. this is not build into the BCL as provided by MS.. the only> 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 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 -- |
|||||||||||||||||||||||