rezsat
Member
سلام دوستان.
من ميخوام از طريق asp ميل بفرستم و از كد زير هم استفاده كردم.ولي error ميده.لطفا كمك كنيد
-----------------------------------------------------------------------------------------------------
set mail=server.CreateObject("CDONTS.NewMail")
mail.From= "BahramTechnology" ' like [email protected]
'mail.To = Request.Form("Email") ' like [email protected]
mail.To = p_email ' like [email protected]
mail.Subject = "UserName & PassWord"
mail.Body = "BahramTechnology Web Site"
mail.Body = "--------------------"
mail.Body = "UserName ="
mail.Body = "& p_user &"
mail.Body = " and "
mail.Body = "PassWord ="
mail.Body = "& p_pass &"
mail.Body = "--------------------"
mail.Body = "http://www.bahramtechnology.com"
mail.BodyFormat = 0 ' 0 = HTML, 1 = Plain
mail.MailFormat = 1 ' 0 = MIME, 1 = Text
mail.Importance = 1 ' 0 =High, 1 = Medium, 2 = Low
'mail.attachFile ("c:\images\mypicture.gif") ' you can also attach files
mail.Send
set mail=nothing
-----------------------------------------------------------------------------------------------------
Sending.asp
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Sending.asp, line 20
800401f3
-----------------------------------------------------------------------------------------------------
حالا ممنون ميشم بگيد اين چه اشكالي داره و يا اينكه ايا بايد موردي در server تغيير بكنه يا خير و يا تنظيمات ديگري داره.
من ميخوام از طريق asp ميل بفرستم و از كد زير هم استفاده كردم.ولي error ميده.لطفا كمك كنيد
-----------------------------------------------------------------------------------------------------
set mail=server.CreateObject("CDONTS.NewMail")
mail.From= "BahramTechnology" ' like [email protected]
'mail.To = Request.Form("Email") ' like [email protected]
mail.To = p_email ' like [email protected]
mail.Subject = "UserName & PassWord"
mail.Body = "BahramTechnology Web Site"
mail.Body = "--------------------"
mail.Body = "UserName ="
mail.Body = "& p_user &"
mail.Body = " and "
mail.Body = "PassWord ="
mail.Body = "& p_pass &"
mail.Body = "--------------------"
mail.Body = "http://www.bahramtechnology.com"
mail.BodyFormat = 0 ' 0 = HTML, 1 = Plain
mail.MailFormat = 1 ' 0 = MIME, 1 = Text
mail.Importance = 1 ' 0 =High, 1 = Medium, 2 = Low
'mail.attachFile ("c:\images\mypicture.gif") ' you can also attach files
mail.Send
set mail=nothing
-----------------------------------------------------------------------------------------------------
Sending.asp
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Sending.asp, line 20
800401f3
-----------------------------------------------------------------------------------------------------
حالا ممنون ميشم بگيد اين چه اشكالي داره و يا اينكه ايا بايد موردي در server تغيير بكنه يا خير و يا تنظيمات ديگري داره.