Sets the e-mail address of the sender

Call Method
    SetFrom (String NotificationID, String From)
         Notification ID
         FROM Address
C# Example Switch to language: [VB.NET]
  //Create personalizer object and Session object
  PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer() ;
  SessionRef.Session sess = new SessionRef.Session() ;
  string SessionID = "";
      SessionID = pers.CreateSession("LogonName", "Password");
      //Create Mail notification proxy object
      MailRef.Mail objMail = new MailRef.Mail() ;
      //Create server notification object
      string MailNotifID = sess.CreateMailNotification(SessionID);
      //set required parameters
      objMail.SetFrom(MailNotifID, "") ; //set "from" address
      objMail.SetTo(MailNotifID, "") ; //set destination address
      objMail.SetSubject(MailNotifID, "Notification Mail.") ; //set subject
      objMail.SetFormat( MailNotifID, "text") ; //set format of message body
      objMail.SetBody(MailNotifID, "You have made an appointment on 1:30pm.");
      //invoke method
  catch(Exception e){
      //Print exception message e.Message