N
ngmantis
Unregistered / Unconfirmed
GUEST, unregistred user!
begin
begin
WITH IDMessage1 do
begin
clear;
idmessage1.Subject:= edit2.Text;
idmessage1.from.Address:= 'fking666@163.com';
idmessage1.ReceiptRecipient.Address:= 'fking6666@163.com';
idmessage1.body.Assign(memo1.Lines);
idsmtp1.Host:= 'smtp.163.com' ;
IdSMTP1.Port:= 25;
idsmtp1.Authen
ticationType:= atNone;
idsmtp1.Username:='fking666' ;
idsmtp1.Password:='*********' ;
try
idsmtp1.Connect();
idsmtp1.Send(idmessage1);
idsmtp1.Disconnect;
application.MessageBox('邮件发送成功!','提示',MB_OK+MB_ICONINFORMATION);
EXCEPT
application.MessageBox('邮件发送失败!','提示',MB_OK+MB_ICONINFORMATION);
end;
end;
end;
出现 用户被锁定......希望好心人能给个通过了的代码
begin
WITH IDMessage1 do
begin
clear;
idmessage1.Subject:= edit2.Text;
idmessage1.from.Address:= 'fking666@163.com';
idmessage1.ReceiptRecipient.Address:= 'fking6666@163.com';
idmessage1.body.Assign(memo1.Lines);
idsmtp1.Host:= 'smtp.163.com' ;
IdSMTP1.Port:= 25;
idsmtp1.Authen
ticationType:= atNone;
idsmtp1.Username:='fking666' ;
idsmtp1.Password:='*********' ;
try
idsmtp1.Connect();
idsmtp1.Send(idmessage1);
idsmtp1.Disconnect;
application.MessageBox('邮件发送成功!','提示',MB_OK+MB_ICONINFORMATION);
EXCEPT
application.MessageBox('邮件发送失败!','提示',MB_OK+MB_ICONINFORMATION);
end;
end;
end;
出现 用户被锁定......希望好心人能给个通过了的代码