How to determine an attachment is there or not in WCF service when an user send a mail(either simple text mail or an attachment email) using C#.NET
views:
23answers:
1
+1
A:
It really depends on how you implemented your mail service, how do you describe an email message when you send it? At a very basic level you would have something like:
<MailMessage>
<Sender>[email protected]</Sender>
<Reciever>[email protected]</Reciever>
<Subject>Some subject here...</Subject>
<Attatchment>...</Attachement>
<Message>
Some message here...
</Message>
</MailMessage>
Using something like this you can easily parse a link to an attatchment and when a user clicks on it they can download the file.
kyndigs
2010-10-07 09:26:34