Reply to topic
Sendmail on Windows
cheryl


Joined: 17 Apr 2004
Posts: 84
Location: Newark, DE
Reply with quote
A common error I see for people using formmail scripts on Windows is that they are looking to use sendmail to send the messages. Unfortunately, sendmail is not installed on our Windows servers, only are linux servers. If you wish to use a perl script to send mail, you would need to use the Net::SMTP module. You can find more information about that at http://www.perldoc.com/perl5.6.1/lib/Net/SMTP.html
send mail
westegg


Joined: 17 Mar 2005
Posts: 4
Reply with quote
can you point me toward more complete instructions for confuring a form to use send mail on one of the linux servers?

thanks...
pmeserve
HostMySite Tech

Joined: 19 Mar 2004
Posts: 178
Reply with quote
Since I'm a PHP fan, here's the PHP mail documentation(it's very simple):

http://php.net/mail
cheryl


Joined: 17 Apr 2004
Posts: 84
Location: Newark, DE
Reply with quote
If you are using a PHP script to send mail, you do not need to worry about configuring your sendmail path or anything. If you decide to use perl though, the path to sendmail on the Linux servers would be:

/usr/sbin/sendmail -t -i -froot@domain.com
plu


Joined: 03 May 2005
Posts: 27
Location: Philadelphia
Reply with quote
If you decided to use PHP to send mail, then a simple mail command would do it. PHP handles all the extra work for you. Sendmail only comes into place if you need to include it in your desktop application. Here is an example for VBScript:

Code:

Set objMsg = CreateObject("CDO.Message")
objMsg.Subject = "Subject line"
objMsg.Sender = "me@test.com"
objMsg.To = "test@test.com"
objMsg.TextBody = " Test message"
objMsg.Send
Sendmail on Windows
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic