Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Blat or MailMessage()
Message
 
 
À
30/08/2011 14:14:53
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01522297
Message ID:
01522319
Vues:
42
>>>>Hi,
>>>>
>>>>I'm using VS2008 and C# (what version of C# is that?) and need to send an email with an attachment from my ASP.NET solution.
>>>>
>>>>I've recently started using Blat.dll in VFP and find it nice and easy to use, should I use it in my .NET stuff or should I use MailMessage()
>>>>
>>>>If using blat, does anyone have some example code?
>>>
>>>I've never used Blat but, FWIW, I have a simple assembly using the System.Net.Mail .MailMessage and .SmtpClient classes. I've plugged it in to various applications for various clients over the years and have yet to encounter any problems.......
>>
>>
>>Thanks Viv,
>>
>>could you share your code, please?
>
>Just looked at it. It is so embarrassingly crude (cobbled together at least five years ago on the spur of the moment and never revisited) that I think I'll just PM it to you :-}

Given all the knowledge you have now and if it's used only in one place, may be you can adjust it (re-factor)?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform