perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdallah Deeb <abdallahd...@yahoo.com>
Subject Mail
Date Mon, 05 Aug 2002 08:21:22 GMT
Hello list,
I am testing the mail:send tag, and getting this error.
any pointers ?

thank you.

error:
------
 [11922]ERR: 24: Error in Perl code: syntax error at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Embperl/Mail.pm line 118, near
"$smtp->data() or die ""
    Global symbol "$from" requires explicit package name at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Embperl/Mail.pm line 79.
    Global symbol "$to" requires explicit package name at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Embperl/Mail.pm line 79.
    Global symbol "$cc" requires explicit package name at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Embperl/Mail.pm line 79.

testmail.htm:
-------------
[$ if ($fdat{request} == 1) $]
	[#-------------------------mail-------------------------------------#]
	[$ syntax + Mail $]
	<mail:send to="john@site.com" subject="test message"
		mailhost="localhost">
		This is a test message
	</mail:send>

	<p>
	[$ if $? $]
		There was an error
	[$ else $]

		mail sent successfuly
	</p>

	[$ endif $]
	[#-------------------------end mail---------------------------------#]
[$ else $]
	<form action="testmail.htm">
		<input type=hidden name=request value=1>
		<input type=submit value="Send it" />
	</form>
[$ endif $]


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message