We will be hard coding the recipient. Adam
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Melvyn Sopacua Sent: Monday, May 20, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [sambar] cgi email {02} Hi Adam and welcome, There have been quite a few threads on sendmail with Sambar. The archives should lead you to few. In any case, for a *Nix person, farmiliar with perl, the easiest way, IMHO is to use ActivePerl and the MIME::Lite modules, setting: MIME::Lite->send('smtp', qq($relayhost:$relayport), Timeout=>60, Debug=>1); (not the instance, but the actual namespace). See perldoc MIME::Lite for more info (like - it actually uses Net::Smtp if you wanna have some more low-level access). Real question is: Do you want a form, that sends email to anybody anywhere or will you make the recipient hardcoded? Adam Hanel said at 18:54 20-5-2002: >Using the mailit.pl and the sample form that is included with the sambar >server this is what I get. > >Of course I had to comment out the localhost only stuff. > > > >MailIt Failed [256]. Command: ..\bin\mailit.exe "cotcomsol.com" >"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "Sambar Server mailit test." >92358397mit > > > >That s my error message. > > > >Can any one help? > > > >Thanks! > >Adam Hanel > > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf >Of Adam Hanel >Sent: Monday, May 20, 2002 9:06 AM >To: [EMAIL PROTECTED] >Subject: [sambar] cgi email {01} > > > >Has any one developed a cgi form that will send email? > >I ve done it with Apache on UNIX using sendmail. > >But the whole windows environment has me at a loss. > > > >If you ve done this can you send me an example of your cgi? > > > >Thanks! > >Dell Case > > >------------------------------------------------------- >To unsubscribe please go to http://www.sambar.ch/list/ > > > > >------------------------------------------------------- >To unsubscribe please go to http://www.sambar.ch/list/ > > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.362 / Virus Database: 199 - Release Date: 7-5-2002 ____________________________________________________ </MELVYN> void wakeup() { for(long int cuppajava;drink();cuppajava++); } ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/ ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
