Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
sendmail
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- sendmail
sendmail
03-02-2008 10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am trying to locate the sendmail program and am using /usr/sbin/sendmail but it doesn't work. I keep getting error messages. Any ideas?
Message 1 of 6
(1,458 Views)
5 REPLIES 5
Re: sendmail
03-02-2008 10:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
"It doesn't work" and "I keep getting error messages" aren't terribly descriptive.
Perhaps if you could give some context,such as the OS version you are using (presumably Linux of some sort), what it is that isn't working, and the error messages you are encountering, I expect one of the gurus round here will be able to help
Perhaps if you could give some context,such as the OS version you are using (presumably Linux of some sort), what it is that isn't working, and the error messages you are encountering, I expect one of the gurus round here will be able to help
Message 2 of 6
(221 Views)
Re: sendmail
03-02-2008 11:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The problem is that I cannot locate the sendmail program. Error message 500 appears when I run the script from my webpage. I can send the contents of the form to a text file but cannot email the contents to my self. my program for emailing starts: open ( MAIL,"|/usr/sbin/sendmail -t");
Quote from: paulh "It doesn't work" and "I keep getting error messages" aren't terribly descriptive.
Perhaps if you could give some context,such as the OS version you are using (presumably Linux of some sort), what it is that isn't working, and the error messages you are encountering, I expect one of the gurus round here will be able to help
Message 3 of 6
(221 Views)
Re: sendmail
03-02-2008 11:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Are you by any chance talking about ccgi?
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Message 4 of 6
(221 Views)
Re: sendmail
04-02-2008 2:13 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
what "program" are you refering to: perl, php, shellscript 
on the ccgi server, sendmail is where you have stated but i'm not sure about you using open() which is to open files, not send text to sendmail.

on the ccgi server, sendmail is where you have stated but i'm not sure about you using open() which is to open files, not send text to sendmail.
Message 5 of 6
(221 Views)
Re: sendmail
04-02-2008 7:33 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you're using perl, you can use open to contact the sendmail binary.
open(SENDMAIL, "|$sendmail") or die "Cannot open $sendmail: $!";
print SENDMAIL $reply_to;
print SENDMAIL $subject;
print SENDMAIL $send_to;
print SENDMAIL "Content-type: text/plain\n\n";
print SENDMAIL $content;
close(SENDMAIL);
Message 6 of 6
(221 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page