Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# XAML WPF Silverlight
first hello to all
 
I have problem with send email from my silverlight Website.
pls any one can hellp me how to send message from my web site
( I have envelop ıcon on my silverllight website but ı dont have any ıdea.
I want ppl can click on icon and wrıte me email the envelop icon is at rıght uper sıde of my web site
website adr== http://websayfaci.net
ı use C#_SİLVERLİGHT_HTML in my web site
Posted 19-Jan-12 15:30pm
delibey752
Edited 19-Jan-12 16:13pm
v3
Comments
SAKryukov at 19-Jan-12 21:36pm
   
Please don't shout (all-caps mean shouting, considered rude) and replace "MESSAGE" with "e-mail message".
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

System.Net.Mail namespace in .NET framework helps to send email from asp.net.
 
private static void SendEmail(MailAddress fromAddress, MailAddress toAddress, string subject, string body)
{
    var message = new MailMessage(fromAddress, toAddress)
                      {
                          Subject = subject,
                          Body = body
                      };
 
    var client = new SmtpClient("smtpServerName");
    client.Send(message);
}
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Please check the following url,

http://www.codeproject.com/Tips/291669/Send-mail-using-Google-Apps.aspx

If you are sending email from gmail or google apps than all sent email would be store in the sent items of the gmail.

Hope this may help you...
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Check
this link
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Hi,
you can check Scott Guthrie's blog post:
http://weblogs.asp.net/scottgu/archive/2005/12/10/432854.aspx[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,609
1 Sergey Alexandrovich Kryukov 6,240
2 CPallini 5,180
3 George Jonsson 3,574
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 20 Jan 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100