Hi Andre,
A few months ago, Tereza and I created a revweb test for my client to
use with his customers. At the end it emails test results automatically
from a CGI on the on-rev server. I just now tested it and it works. It's
emailing from a CGI, not from irev code, so maybe it won't answer your
need; but maybe it will:
on sendReport pEmail, pReport
-- start process
put ("mail -s" && q("RevWeb Test Results") && \
"[email protected] -a" && q("From:
[email protected]")) & cr into tMailProcess
open process tMailProcess for write
put the result into tPID
put "open:" && tPID & cr after tLog
-- write body
--put "Here are the results from your Rev Web Test:" & cr & pReport
into tBody
put cr & pReport into tBody
write tBody to process tMailProcess
put "write body:" && the result & cr after tLog
-- provide a CC
write "" & cr to process tMailProcess
put "write CC:" && the result & cr after tLog
close process tMailProcess
put "close:" && the result & cr after tLog
wait until tMailProcess is not in the openProcesses
end sendReport
Best -
Phil Davis
On 3/3/10 8:10 AM, Andre Garzia wrote:
Ralf,
this is a self contained system to be distributted, can't use revIgniter
because this is supposed to integrate into other people works... it is a
minimal system.
Tried using mail and sendmail... I am almost about to code SMTP on my own, I
did it before...
damn
andre
On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter<[email protected]> wrote:
Hi Andre,
with revIgniter it works, plus there is
a debugger function.
Cheers
Ralf
On 03.03.2010, at 16:27, Andre Garzia wrote:
Ha!
Logged thru SSH and tried both mail and sendmail and none works!
:D
\o/
Doing the happy dance, it is definitely broken or configured so badly
that
it doesn't work as all the other installations I've found.
Anyone is able to send mail in On-Rev?
Cheers
andre
On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia<[email protected]>
wrote:
Just tried the mail + shell commands and it doesn't work as well...
no error is triggered but the email also never arrives. It would be
useful
is On-Rev Team would add the sendmail/mail log to the cPanel thing.
:-/
can't even see the logs! Argh!
Cheers
andre
On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia<[email protected]
wrote:
Bernard& Jeffrey,
thanks for the reply.
On On-Rev cPanel there's a information label with the sendmail
location,
which I used on my script but the thing is not working.
I have code for "mail" as well as I used this on mac os x... silly
computers never working the way they should, let me try mail.
Cheers
andre
On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin<[email protected]
wrote:
On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia<[email protected]>
wrote:
Aloha Folks,
Did anyone here is able to send email using sendmail in On-Rev, my
code
that
I use everywhere is not working anymore, somehow it can't open the
sendmail
process.
Some linux installations have a CLI mailer called 'mail' instead of
'sendmail'. I know on some installations where Postfix is the smtpd
I've had to install that 'mail' program separately. I don't have the
details to hand, but can look them up if necessary.
You could try 'there is a file /usr/bin/sendmail' to check for the
existence of sendmail with on-rev.
Bernard
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
--
http://www.andregarzia.com All We Do Is Code.
--
http://www.andregarzia.com All We Do Is Code.
--
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
--
Phil Davis
PDS Labs
Professional Software Development
http://pdslabs.net
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution