|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
email HELP
hi you all
i got this problem anyone like to help? ![]() ![]() i know nothing yet about sending email and the like ![]() i just subscribe to a free hosting site (hostbreak.com) they send to me those valuable info and i dont know what they prefer hostbreak.com:You MUST set the Mail.Host and Mail.From to domains we host. (i cant find which is which in the info they send ) Hope you all subscribe to know what i mean ![]() this is there sample tutorial code code: <html> <head><title>ASPEmail Example</title></head> <body> <blockquote> <h2 align=center>ASPEmail Example</h2> <% Set Mail = Server.CreateObject("Persits.MailSender") Mail.Host = "Put IP address of your WEB server here" <<<------i dont know where to find the web server in the info they send Mail.From = "sales@yourdomain.com" <<<------i dont know where to find the domain in the info they send Mail.FromName = "Sales Department" Mail.AddAddress "jsmith@company1.com", "John Smith" Mail.AddAttachment "e:\html\domains\yourdomaincom\html\filename.htm" Mail.Subject = "Sales Receipt" Mail.Body = "Dear John:" & chr(13) & chr(10) & _ "Thank you for your business." On Error Resume Next Mail.Send If Err <> 0 Then Response.Write "An error occurred: " & Err.Description <<<<<<<---------this is what i get obviously End If %> </blockquote> </body> </html> end of code: please spoonfeed me guys! thanks |
|
#2
|
||||
|
||||
|
*shrugs* we can't help you... you'll have to ask your ISP for help.
|
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > email HELP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|