怎么回事?邮件发送问题!
以前做一系统,用SMTP服务发送,以前一直没问题,但前2天不能出现错误:“553 抱歉,该发信地址被封 - sorry, your envelope sender is in my badmailfrom list (#5.7.1)) ...”
程序如下:
SMTP.AuthenticationType := atLogin;
// else SMTP.AuthenticationType := atNone;
SMTP.UserID :='****;//帐户
SMTP.Password :='*****';//密码
{General setup}
SMTP.Host :='SMTP.sina.com.cn';
SMTP.Port := 25;
try
SMTP.Connect;
except
Showmessage('连接SMTP服务器失败!');
Exit;
end;
try
with IdMsgSend do
begin
body.Clear;
Body.Add(BaseStop);//内容
Body.Add(SbbStop);
Body.Add(YlybbStop);
Body.Add(zjstr);
From.Text := '****@vip.sina.com';
Recipients.EMailAddresses :='****@sina.com.cn';//收件人
Subject:=Title_id;//主题
end;
SMTP.Send(IdMsgSend);
问题点数:200、回复次数:7Top
1 楼clasj(★知我☆)回复于 2005-11-15 15:10:39 得分 20
应该不是程序的问题吧:)Top
2 楼lovendII(流氓都做了城管)回复于 2005-11-15 15:29:25 得分 85
http://www.cableplus.com.cn/mail.htm
Q:the server says:553 sorry, your envelop sender is in my badmailfrom list
A:服务器限制了收件人的地址,只能换一个smtp服务器发信。
\\\\\\\\\\\\\\
还有很多问题:
◇ Q:the server says:550 relaying mail to <> is not allowed
Q:The server says:550 <>... relaying denied
Q:the server says:550 5.7.1 relaying not permitted:
A:使用某些Smtp服务器时,限制了收件人的地址,只能换一个Smtp服务器。
◇ Q:The server says:550 <>:local user only
Q:The server says:550 <>:Invalid User
Q:The server says:550 Invalid recipient
A:使用163.net,163.com,yeah.net和netease.com之类的Smtp服务器时,只能用自身的信箱发信,所以要在Outlook Express的“帐户属性”中的“个人信息”里面填写正确的邮件地址。
◇ Q:the server says:551 delivery not allowed to non-local recipient
Q:The server says:553 Relay restriction.
Q:The server says:553 From <>, message blocked.
Q:The server says:553 sorry,you are not allow to use this SMTP to relay your eami
Q:The server says:553 sorry, that domain isn't in my list of allowed rcpthosts
A:使用21cn.com,china.com,371.net,sina.com等大多数信箱的smtp服务器时,只能用自身的信箱发信,所以要在Outlook Express的“帐户属性”中的“个人信息”里面填写正确的邮件地址。
◇ Q:The server says:505 client was not authenticated
Q:The server says:553 authentication is required to send mail as <>
A:使用263.net和sohu.com的Smtp服务器时,不但要用自身的邮箱发信,而且要加入身份验证,所以即要在“个人信息”中填写正确邮箱地址,又要选中“SMTP服务器需要认证”。
◇ Q:The server says:535 Error:authenticatin failed
Q:The server says:535 Authentication unsuccessful
Q:The server says:452 Insufficient system storage
A:在使用Esmtp认证的过程中出错,检查一下Esmtp设置,多试几次。
◇ Q:The server says:553 <>...domain name required
Q:The server says:550 Unable to relay for ...
A:多出现在用Wingate代理服务器发送邮件时。虽然在Wingate中“POP3 邮箱帐号”要使用“用户名#POP3地址”的格式,但在“帐户属性”中的“个人信息”中还是要填写一般的格式。
◇ Q:The server says:553 mailbox name not allowed
A:收件人邮箱地址不允许,需检查收件人地址是否正确。
◇ Q:the server says:553 sorry, your envelop sender is in my badmailfrom list
A:服务器限制了收件人的地址,只能换一个smtp服务器发信。
◇ Q:the server says:554 Transaction failed
Q:The server says:451 Requested action aborted,errno=28
A:传输失败,检查网络问题。
◇ Q:the server says:503 error:needmail command
Q:The server says:503 need mail before RCPT.
Q:The server says:503 Bad sequence of commands
A:消息命令顺序出错,一般出现在其他错误之后,先检查之前出现的错误提示。
◇ Q:The Server says:501 syntax.helo hostname
Q:The server says:501 Invalid domain name
Q:The server says:502 unimplemented command
Q:the server says:503 5.0.0 polite people say HELO first
Q:The server says:533 relay restriction
Q:The server says:544 <>:Recipient address rejected: Relay access denied
A:传输中的语法错误,原因不明。
Top
3 楼clasj(★知我☆)回复于 2005-11-15 15:54:11 得分 10
markTop
4 楼thisisxutao(感觉跟我走)回复于 2005-11-15 16:11:09 得分 0
刚才打了新浪客服,称邮件服务做了调整,要求比以前严格,说什么帐户名要和邮件前缀相同,这不是废话吗?
郁闷哦~Top
5 楼aiirii(ari-http://spaces.msn.com/members/aiirii/)回复于 2005-11-15 16:16:22 得分 85
sina 的 邮件服务器,检查比较严格,如果你发太多的邮件,就会被当成垃圾邮件,封了你的账号Top
6 楼thisisxutao(感觉跟我走)回复于 2005-11-15 16:47:24 得分 0
我试过了。换了几个发信地址,都是一样。
他们的客服尽找些小MM跟我解释,说了半天也么一明白,唉Top
7 楼thisisxutao(感觉跟我走)回复于 2005-11-16 15:53:12 得分 0
c谢谢大家,已经解决。需要发件地址和收件地址一样,什么逻辑!Top




