Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.10.10;
Скачать: CL | DM;

Вниз

Incorrect authentication data   Найти похожие ветки 

 
Боян Георгиев   (2004-07-31 14:36) [0]

Здравствуйте!
Я связяю е-майл клиент с smtp.mail.ru успешно, но не могу послать сообщение к другому серверу. Получаю ошибка Incorrect authentication data. Я сигурный что имя и пароль коректны. Вот код клиента:

 
 // connect
 Mail.Host := eServer.Text;
 Mail.UserName := eUserName.Text;
 if ePassword.Text <> "" then
 begin
   Mail.Password := ePassword.Text;
   Mail.AuthenticationType := atLogin;
 end;
 Mail.Connect;

 // send the messages, one by one, prepending a custom message
 try
   // set the fixed part of the header
   MailMessage.From.Name := eFrom.Text;
   MailMessage.Subject := eSubject.Text;
   MailMessage.Body.SetText (
     reMessageText.Lines.GetText);
   MailMessage.Body.Insert (0, "Hello");

   while nItem < ListAddr.Items.Count do
   begin
     // show the current selection
     Application.ProcessMessages;
     ListAddr.ItemIndex := nItem;
     MailMessage.Body [0] := "Hello " + ListAddr.Items[nItem];
     MailMessage.Recipients.EMailAddresses := ListAddr.Items[nItem];
     Mail.Send(MailMessage);
     Inc (nItem);
   end;
 finally // we"re done
   Mail.Disconnect;
 end;


Где ошибка?? В сервере или в моем клиенте? Встречал ли кто-то подобный проблем?


 
BlackBaracuda ©   (2004-07-31 20:27) [1]

Напиши параметры всех твоих хост, имя и т.д.
Имя и пароль можешь заменить, а так разберемся...



Страницы: 1 вся ветка

Текущий архив: 2004.10.10;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.04 c
4-1094060806
Belaev Andrey
2004-09-01 21:46
2004.10.10
Запрет на удаление процесса по средвам ACL


14-1095939915
zsv
2004-09-23 15:45
2004.10.10
Дисковод...


1-1096034724
ShproTT
2004-09-24 18:05
2004.10.10
Delphi+MS Word


9-1086872388
init13
2004-06-10 16:59
2004.10.10
ГЛСцена (текст)


11-1081250753
Alex E
2004-04-06 15:25
2004.10.10
Не могу загрузить новую версию KOL