the problems is:// Initializes the mail sender class
it does not know 'SimpleNETMFSocket" when I run this.
with the two lines above there are similar problems.
The one above says that it does not have 5 parameters.
on the first one that is commented out it does not know what "IntegratedSocket" is.
Your help is very much appreciated.
Thanks
using System; //using System.Net; //using System.Net.Sockets; //using System.Threading; //using Microsoft.SPOT; //using Microsoft.SPOT.Hardware; //using SecretLabs.NETMF.Hardware; //using SecretLabs.NETMF.Hardware.NetduinoPlus; //using Toolbox.NETMF; using Toolbox.NETMF.NET; //using Toolbox.NETMF.Hardware; namespace Mail { public class Program { public static void Main() { // By defining the CORRECT! date, mail messages could get a lower spam score in spam filters //Utility.SetLocalTime(new DateTime(2011, 10, 16, 20, 43, 0, 0)); // Defines the sender SMTP_Client.MailContact From = new SMTP_Client.MailContact("oehms@gmx.com", "Rainer Oehm"); // Defines the receiver SMTP_Client.MailContact Receiver = new SMTP_Client.MailContact("oehms@yahoo.com", "Rainer Oehm"); // Defines the mail message SMTP_Client.MailMessage Message = new SMTP_Client.MailMessage("Small test result"); Message.Body = "This mail is sent by a Netduino :-)\r\n"; Message.Body += "Good day!"; // Initializes the mail sender class // SMTP_Client Sender = new SMTP_Client(new IntegratedSocket("mail.gmx.com", 25)); // SMTP_Client Sender = new SMTP_Client("mail.gmx.com", 587, SMTP_Client.AuthenticationTypes.Login, "oehms@gmx.com", "*******"); SMTP_Client Sender = new SMTP_Client(new SimpleNETMFSocket("mail.gmx.com", 587), SMTP_Client.AuthenticationTypes.Login, "oehms@gmx.com", "*******"); // Sends the mail Sender.Send(Message, From, Receiver); } } }