Hello,
I use apache with sendmail at the moment, but it is limited to 20 sends in one go. I am trying to do a newsletter, and am wondering if it is possible to use the mail() function but send through an smtp server. I don't have access to php.ini, so I am hoping it can be done on the page itself.
Does anyone have any ideas?
Larry
SMTP with PHP
Moderator: General Moderators
SMTP Class is a PHP class to enable you to send email direct through an smtp server. Currently supports all basic commands; HELO, EHLO, MAIL, RCPT, DATA. Also supports the AUTH LOGIN (basic authentication).
http://www.hotscripts.com/Detailed/12246.html
http://www.hotscripts.com/Detailed/12246.html
Just try using the mail() function in a php script
<?
$Success = mail("to@someone.com", "My Subject", "My Message");
if ($Success){
print "It Works!!!";
}
else{
print "Oops!!";
}
?>
If it works then you don't need to do anything else.
Mike
<?
$Success = mail("to@someone.com", "My Subject", "My Message");
if ($Success){
print "It Works!!!";
}
else{
print "Oops!!";
}
?>
If it works then you don't need to do anything else.
Mike
mail() doesn't work, pl. help;
I'm using
mail("me@here.us","stuff","whatever");
in a .php page and am running IIS on Windows2000Professional.
I get
"Server Error in C:..\..\mail.php on line nn"
What am I doing wrong?
TIA
mail("me@here.us","stuff","whatever");
in a .php page and am running IIS on Windows2000Professional.
I get
"Server Error in C:..\..\mail.php on line nn"
What am I doing wrong?
TIA
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK