分享

写回答

发帖

[提问] Gd共享主机上发送邮件提示报错?哪里的问题?

回答|共 31 个

cxn

发表于 2011-12-26 23:41:56 | 显示全部楼层

原帖由 lwbo1987 于 2011-12-26 09:37 AM 发表
那你尝试看看能否可以

不可以啊,所以才发帖求助是什么原因,邮件发送失败!错误原因:The "SendUsing" configuration value is invalid.
回复 支持 反对

使用道具 举报

暮木娃娃

发表于 2011-12-27 09:01:13 | 显示全部楼层

回复 18# 的帖子

,你联系客服问问看错误原因啊
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-12-27 09:17:58 | 显示全部楼层

回复 18# 的帖子

是不是程序代码或者配置有问题
回复 支持 反对

使用道具 举报

cxn

发表于 2011-12-28 22:58:28 | 显示全部楼层

原帖由 lwbo1987 于 2011-12-27 09:17 AM 发表
是不是程序代码或者配置有问题

程序代码问题的概率我估计小于1%,以前在国内、在GD SHARED WINDOWS时代时是可以Jmail发送的,但变为云方式后就出了问题,也是最近才发现的,之前一直没注意到这个问题。。。。请看下在10楼GD给我的邮件回复。。。

[ 本帖最后由 cxn 于 2011-12-28 11:05 PM 编辑 ]
回复 支持 反对

使用道具 举报

cxn

发表于 2011-12-29 00:23:14 | 显示全部楼层

难道用Gd Windows主机的CDO组件发送邮件,还要修改自己的ASP程序代码为以下,并且还要用Gd的邮箱?

由于GoDaddy的windows主机不支持jmail组件,但可以使用CDONTS.NewMail组件替代来发送邮件, 具体写法如下:

<%
sendUrl=”http://schemas.microsoft.com/cdo/configuration/sendusing”
smtpUrl=”http://schemas.microsoft.com/cdo/configuration/smtpserver”

‘ Set the mail server configuration
Set objConfig=CreateObject(”CDO.Configuration”)
objConfig.Fields.Item(sendUrl)=2 ‘ cdoSendUsingPort
objConfig.Fields.Item(smtpUrl)=”relay-hosting.secureserver.net”
objConfig.Fields.Update

‘ Create and send the mail
Set objMail=CreateObject(”CDO.Message”)
‘ Use the config object created above
Set objMail.Configuration=objConfig
objMail.From=”admin@donet.us”   这里一定要是GoDaddy提供的邮局,否则发送不了
objMail.To=”xxx@example.com
objMail.Subject=”subjec”
objMail.TextBody=”body”
objMail.Send
Response.Write “邮件发送成功!”
if Err <> 0 then
response.write “<font color=ff0000>”&Err.Description&”</font>”
response.end
end if
%>
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-12-29 09:32:33 | 显示全部楼层

回复 21# 的帖子

godaddy现在不支持Jmail啊
回复 支持 反对

使用道具 举报

cxn

发表于 2011-12-29 15:59:01 | 显示全部楼层

原帖由 lwbo1987 于 2011-12-29 09:32 AM 发表
godaddy现在不支持Jmail啊

是,现在是不支持Jmail啊,但选了CDO方式,也总是出现sending配置问题,到底是哪里出了问题?苦恼ing
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-12-29 17:27:40 | 显示全部楼层

回复 23# 的帖子

代码不太懂,帮不上忙,帮顶下
回复 支持 反对

使用道具 举报

cxn

发表于 2012-1-8 17:14:19 | 显示全部楼层

完了,该怎么办?WEBFORMMAILER.ASP是什么东东?请求帮忙!
Thank you for contacting Online Support about using a form on your website.

Below is the information we have on using Windows hosting form mailers. The information you provided sounds like something that may not be able to be completed within a shared hosting server.  If after using the information below, and our relay hosting server you are not able to accomplish what you are attempting to do, please provide us the location of the form so we can review it further.  As stated previously our forms cannot indicate they are coming from certain domain names.
Our ASP form mailer is WEBFORMMAILER.ASP. Form-mailer functionality is also supported through CDOSYS on all Windows hosting accounts, and through CDONTS on Windows hosting accounts running IIS6.

For more information, see:
Using Windows Hosting Form Mailers
Using CDOSYS to Send Email from Your Windows Hosting Account
Using CDONTS to Send Email from Your Windows Hosting Account
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2012-1-8 17:20:51 | 显示全部楼层

参考http://help.godaddy.com/article/512#webformmailer
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则