[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Problem with sendmail.



Hi..

I'm wtitting this Perl script that sends an e-mail, so I do this:

open(MAIL, "|/usr/sbin/sendmail") or die "can't open";
print MAIL "To: user\@domain.com\n", "From: user\@domain.com\n", "Subject:
subject\n", "\n$msg\n";
close(MAIL);

(I have all the body of the mail on $msg). And I'm getting this error from
sendmail:

admin... Recipient names must be specified

The script belongs to admin. I'm not getting this error on other machines,
only on the Cobalt..

What could that be?

Thanks.. Bye..

Ariel.






Sun Cobalt Support by Zeffie.com
A Sun Cobalt Support Specialist Since 1999
Sun Cobalt Support, Repairs, Development, and Maintenance.
Home of the Worlds Largest Collection of Sun Cobalt Updates!
Sun Cobalt Spam Filter, Security, Firewall, Anti Virus Products.
Voip 734-454-9117 At&t 734-454-0818 US Toll Free 800-231-4459 UK 0208-150-6860

Zeffie's Sun Cobalt User Forums
Zeffie's Sun Cobalt Restore CD's   Zeffie's Sun Cobalt Updates  
Sun Cobalt Users List   Sun Cobalt Security List   Sun Cobalt Developers List

Click here to buy me a drink at the local pub!
(includes tip and paypal fees)

Copyright 2007 by Electronic Consultants Inc.