1. 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

new topic     » topic index » view message » categorize

2. Re: Euphoria CGI and email

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
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Euphoria CGI and email

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Euphoria CGI and email

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu