Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JMAIL Installation help!

Status
Not open for further replies.

chassid

MIS
Aug 27, 2000
58
US
B"H
All,

I have installed jmail. I also copied the jmail.dll to c:\wintt\system32 and also type regsvr32 jmail.dll and the computer told me installation was complete. When I run this script I get an error saying page cannot be displayed. Can anyone help me? Here goes the script:

<%
' B&quot;H
' Get the form data
name = &quot;Daniel Cuperstein&quot;
senderEmail = &quot;dcuper1@hotmail.com&quot;
subject = &quot;Will this work?&quot;
recipient = &quot;dcuper1@hotmail.com
body = &quot;vamos fuinciona&quot;

' Create the JMail message Object
set msg = Server.CreateOBject( &quot;JMail.Message&quot; )

' Set logging to true to ease any potential debugging
' And set silent to true as we wish to handle our errors ourself
msg.Logging = true
msg.silent = true

' Enter the sender data
msg.From = senderEmail
msg.FromName = name

' Note that as addRecipient is method and not
' a property, we do not use an equals ( = ) sign
msg.AddRecipient recipient

' The subject of the message
msg.Subject = subject

' And the body
msg.body = body

' Now send the message, using the indicated mailserver
if not msg.Send(&quot;tmiserver.tmi.cob.fsu.edu&quot; ) then
Response.write &quot;<pre>&quot; & msg.log & &quot;</pre>&quot;
else
Response.write &quot;Message sent succesfully!&quot;
end if


' And we're done! the message has been sent.


%>


Do you know the Chabad Lubavitch Sheliach in your area?
He is waiting for you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top