1. Euphoria CGI and email
- Posted by "Michelle Rogers" <michellerogers at bellsouth.net> Jun 29, 2004
- 468 views
Can someone give me a quick primer on how to email using cgi? What I want is to be able to email a password, if someone clicks that they have forgotten their password. Thanks in advance Michelle Rogers
2. Re: Euphoria CGI and email
- Posted by "Michelle Rogers" <michellerogers at bellsouth.net> Jun 29, 2004
- 431 views
I guess I should have said..or either point me in the right direction. I don't even know where to start with that. Michelle Rogers ----- Original Message ----- From: "Michelle Rogers" <michellerogers at bellsouth.net> To: <EUforum at topica.com> Sent: Tuesday, June 29, 2004 7:03 PM Subject: Euphoria CGI and email > > > Can someone give me a quick primer on how to email using cgi? What I want > is to be able to email a password, if someone clicks that they have > forgotten their password. > > Thanks in advance > > Michelle Rogers > > > >
3. Re: Euphoria CGI and email
- Posted by irv mullins <irvm at ellijay.com> Jun 29, 2004
- 451 views
Michelle Rogers wrote: > I guess I should have said..or either point me in the right direction. I > don't even know where to start with that. > > Can someone give me a quick primer on how to email using cgi? What I want > > is to be able to email a password, if someone clicks that they have > > forgotten their password. Get cgiemail http://web.mit.edu/wwwdev/cgiemail/ It's proven, and lots less trouble than trying to write something in Euphoria. Irv
4. Re: Euphoria CGI and email
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 30, 2004
- 471 views
Michelle Rogers wrote: > Can someone give me a quick primer on how to email using cgi? What I want > is to be able to email a password, if someone clicks that they have > forgotten their password. On FreeBSD and Linux I use Euphoria's system() command with either "mail" or "sendmail". See the man pages. On Windows I'm using system() and a free "sendmail" from http://www.dato.at/modules.php?op=modload&name=Downloads&file=index&req=viewsdownload&sid=1 I've used it with Apache on Windows 2000. You just have to set up a couple of input files, then run "sendmail" with system(). See the readme file. The actual statement I use is:
system(sprintf( "sendmail /FROM=%s /TO=totemp.txt /REF=%s /MESSAGE=bodytemp.txt /HOST=127.0.0.1 > NUL", {from_address, subject}), 2)
Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com