If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > IIS6 & Jmail on Win 2003 Web Edition

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-05, 06:12
nayder nayder is offline
Registered User
 
Join Date: Feb 2005
Location: England
Posts: 2
IIS6 & Jmail on Win 2003 Web Edition

Hi,

Im getting Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed after testing this email on a NEW server. All other asp code works ok.

Is there something in IIS 6 I should configure/allow for differnt mail objects etc?

thanks.

Set JMail = Server.CreateObject("JMail.SMTPMail")
strServer = Replace(request.servervariables("SERVER_NAME"),"ww w.","")
JMail.ServerAddress = "smtp." & strServer & ":25"
JMail.Sender = strTo
JMail.Subject = strSubject
JMail.AddRecipient strTo
JMail.Body = " Message: "&strMessage
JMail.Priority = 3
JMail.Execute
set jmail=nothing

Last edited by nayder; 02-24-05 at 06:15.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On