In perl, you only need to \ an @ sign if it's in double quotes. You should
leave out the \ if the address is in single quotes. eg
print '\@';
will print
\@
print "\@";
will print
@
if that doesn't solve it then the full text of the delivery failure would
help a lot,
Fergal
At 14:09 21/04/00, Barry Carroll wrote:
>Hi All,
>>(This is all being done using 127.0.0.1
>The Box has no net access)
>>I have apache 1.3 on my RH6.0 Box.
>Kernel 2.6-14 (I think)
>>I have a form page in /home/httpd/
>which refers to a perl script in /home/httpd/cgi-bin/
>which then emails the output to a user on the machine.
>>It seems to be going ok, then gives a '500' internal server
>error, but it emails the output to root, saying that it could
>not deliver.
>>In the perl script (Formmail.pl) I have $recipient set to
>'xxx at baz.com' (Baz.com = 127.0.0.1)
>>In the delivery failure that is sent to root it says could not
>deliver to 'xxx\@baz.com' - what is wrong?,
>>Thanks for any input,
>>Barry.
>>>--
>Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!