Y
yjxwjx
Unregistered / Unconfirmed
GUEST, unregistred user!
各位大哥谁有用indy10的idstmp发hotmail的邮箱的成功例子,账号为hotmail账号,连接成功,但是发送不成功。我的代码如下: Msg.Clear; Msg.From.Address:='****@hotmail.com'; MSg.Recipients.EMailAddresses:='*****@126.com'; Msg.Subject:='Helll1'; Msg.Body.Add('djslfjl;sfj'); IdSmtp1.Host:='Smtp.live.com'; IdSmtp1.Username:='****@hotmail.com'; IdSmtp1.Password:='*******'; Try IdSmtp1.Connect; If Idsmtp1.Connected Then IdSmtp1.Authenticate; IdSmtp1.Send(Msg); Except On E:Exception Do ShowMessage(E.Message); End;端口为25,utUseExplicitTLS、IdSSLIOHandlerSocketOpenSSL1