ok well i'm on L00nix but i have no sendmail so i'm gonna do this through SMTP.
how do i enter commands to the server i have the connection to? here is a script i made just to test the mailing system
<form>would you like to test the email system?
<input type="text" name="<?php $test_email ?>" < br>
<input type="submit" value="Do it up"></form>
if ($test_email = yes || YES) {
fsockopen(smtp.telusplanet.net, 80, 666, the thing failed, 3600)
mail(shawndarichuk@hotmail.com, testing email, i'm testing the email system)
}
you can see that is a form where i enter YES or yes to try to make it send an email. the problem i encounter is that having the line mail(whatever) after the fsockopen makes it try to connect to that SMTP server then try to use sendmail on my computer.....how do i execute that mail command as a command to the SMTP server?