Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send To->Mail Recipient
Message
 
À
14/12/2006 11:59:10
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01176375
Message ID:
01177843
Vues:
7
>Einar,
>Did you ever find a solution to this? I am also running into a limitation using System.Web.Mail (we have to add every sending client to our mailhost relay).

No not really. After searching for a while and asking someone else to do some searching I pretty much decided to drop my initial idea. I am now going the System.Net.Mail (new in 2.0 and a great improvement over System.Web.Mail).
I was going to go the System.Net.Mail route eventualy but I wanted to add a feature similar to
"Send To->Mail Recipient" as a quick solution. My biggest issue is to explain to all users what an SMTP server is :) (I am still surprised that M$ did not "open" this feature for the public and I am also surprised that developers have not been asking for this or creating better work-arounds.)

I did find one artice @ Code Project explaining to to do "Send To->Mail Recipient" in un-managed C++ code, but even this solution wastoo much work for a quick solution <lol>.

The Process.Start("mailto:einar@einar.com");<\i> is a relatively good solution, if you don't want to attachments.

Since you wrote System.Web.Mail I assume you are still using 1.1. Maybe take a look at what System.Net.Mail has to offer an maybe it "solves" your relay issues.

I did find a interesting webpage this evening that looks like it has a lot of good info and it is dedicated to System.Net.Mail. The URL is http://www.systemnetmail.com/

Einar

PS. It is my oppinion that email account(s) settings (you know POP3, SMTP and all those other TLAs) should be part of the OS user account so that my apps can eaily get that info.
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform