Kod: Tümünü seç
IdSMTP1.Disconnect;
IdMessage1.Sender.Address :='asd@asd.com';
IdMessage1.From.Name :='ASD';//gönderenin adı
IdMessage1.From.Address :='asd@asd.com';//gönderen mail adresi
IdMessage1.Recipients.EMailAddresses :=Memo4.Lines.Text;
IdMessage1.Priority := mpNormal;//mesaj önceliği
IdMessage1.Date := DxDateEdit2.Date;
IdMessage1.UseNowForDate := true;
IdMessage1.ContentType :='Text/html';
IdMessage1.Body.Assign(RichEdit1.Lines);
IdMessage1.Body.Append('<br>');
IdMessage1.Body.Append('<br>');
IdMessage1.Body.Append('Toplantı Bilgileri');
IdMessage1.Body.Append('<br>');
IdMessage1.Body.Append('Top.Kodu ='+ComboBox2.Text);
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append('Top.Tarihi ='+DxDateEdit1.Text);
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append('Top.Konusu ='+Edit2.Text);
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append(' ');
IdMessage1.Subject :='TOPLANTI BİLGİ MAİLİ';
IdMessage1.Body.Append('<br>');
IdMessage1.Body.Append('Mad.Bit.Tarihi ='+DxDateEdit3.Text);
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append(' ');
IdMessage1.Body.Append('Madde No ='+Edit5.Text);
// bağlantı bölümü
IdSMTP1.Authenticate;
IdSMTP1.AuthenticationType:=atLogin;//smtp login bölümü
IdSMTP1.Password :='asd@asd.com';
IdSMTP1.Username :='123456';
IdSMTP1.Host:='mail.asd.com';
IdSMTP1.Port:=25;
IdSMTP1.Connect;
IdSMTP1.Send(IdMessage1);
IdSMTP1.Disconnect;
EidNoConnected with message "Not Connected" nasıl çözebilirim bu problemi acaba?
saygılar