Sendmail on IIS5

Hi, I have installed JMail on a win2k advanced server but people find it very difficult to use and are requesting the ability to use sendmail on the NT. Now I have seen this done in perl but dont know where to find the relevant script.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar31.webp

7 Posts
Location -
Joined 2001-12-11
Hi,
 
I have installed JMail on a win2k advanced server but people find it very difficult to use and are requesting the ability to use sendmail on the NT. Now I have seen this done in perl but dont know where to find the relevant script.
 
Can anyone help?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Do you have your own SMTP server to send email out from? I use CDO (Collaborative Data Objects) in ASP to send emails that I generate from forms. Here's an example:
 

Code:
strName = Request.Form("txtName")strCompName = Request.Form("txtCompName")strPhone = Request.Form("txtPhone")strFax = Request.Form("txtFax")strEmail = Request.Form("txtEmail")Response.Write "Sending email to: <B>" & strTo & "</B> .. "Set objMail = Server.CreateObject("CDONTS.Newmail")objMail.To = strToobjMail.From = "yourname@yourdomain.com"'objMail.Subject = strSubjectobjMail.Subject = "Subject: Online Form Submission" & strName'Mail body buildup and formattingobjMail.Body = "From your online form" & Chr(10) & Now () & Chr(10) & Chr(10) & "Name" & Chr(10) & strName  & Chr(10) & Chr(10) & "Company Name" & Chr(10) & strCompName _ & Chr(10) & Chr(10) &  "Phone Number" & Chr(10) & strPhone & Chr(10) & Chr(10) & "Fax Number" _  & Chr(10) & strFax & Chr(10) & Chr(10) & "Email Address" & Chr(10) & strEmailobjMail.SendSet objMail = NothingResponse.Write "done"
 
I use these regularly for online forms both on my Intranet and Internet sites. If this will do what you are looking for, then maybe I can help you.

data/avatar/default/avatar31.webp

7 Posts
Location -
Joined 2001-12-11
OP
I dont use CDONTS. I do use however a mailserver called Merak which uses something called smtp.exe to send out mails if thats of any help.

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Well, CDONTS is just a way of processing the object for out purposes. Is the mailserver application installed on the same server hosting this page you want to write? If not, is the SMTP service on the IIS server? If either is correct, you could just make a simple ASP page with that code, put your email address on it, and run it to see what happens. We had our Exchange 5.5 box hosting our Intranet site during testing a while ago, and it worked very well without configuration. The same goes for having the SMTP service installed on the hosting server.