delphi 发送邮件时
为什么只能发送163的 当发送163邮件的时候 帐号 和密码必须填 163 老帐号 如果是新注册的会提示报错
错误信息“ 用户被锁定”如果发送QQ的邮箱 就直接发送不出去
如果
smtp.AuthenticationType:= atNone
则提示错误 command Error
如果
smtp.AuthenticationType:=atLogin
则提示错误 auth failed system error
请问如何解决代码如下
{ SMTP.Host:='smtp.163.com';
smtp.Username:='。。@163.com';
smtp.Password:='。。';
smtp.Port:=25; } MgeSend.Recipients.EMailAddresses:='[email protected]';
MgeSend.From.Text :='。。@163.com';
MgeSend.Subject:='星尘传说';
MgeSend.Body.Append(ComboBox1.Text);
MgeSend.Body.Append(edit1.Text);
MgeSend.Body.Append(edit2.Text);
try
smtp.Connect();
SMTP.Authenticate;
Smtp.Send(mgeSend);
为什么只能发送163的 当发送163邮件的时候 帐号 和密码必须填 163 老帐号 如果是新注册的会提示报错
错误信息“ 用户被锁定”如果发送QQ的邮箱 就直接发送不出去
如果
smtp.AuthenticationType:= atNone
则提示错误 command Error
如果
smtp.AuthenticationType:=atLogin
则提示错误 auth failed system error
请问如何解决代码如下
{ SMTP.Host:='smtp.163.com';
smtp.Username:='。。@163.com';
smtp.Password:='。。';
smtp.Port:=25; } MgeSend.Recipients.EMailAddresses:='[email protected]';
MgeSend.From.Text :='。。@163.com';
MgeSend.Subject:='星尘传说';
MgeSend.Body.Append(ComboBox1.Text);
MgeSend.Body.Append(edit1.Text);
MgeSend.Body.Append(edit2.Text);
try
smtp.Connect();
SMTP.Authenticate;
Smtp.Send(mgeSend);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货