СМС с mail2sms?

в php.ini намери следните редове:

[mail function]
; For Win32 only.
SMTP = домеин или нещо (localhost) по дефоулт

; For Win32 only.
sendmail_from = пишеш от кой е изпратен (mail@mail.com)

на SMTP пиши твоето IP
 
А има ли възможност да направя апачето да праща майлове през SMTP сървър който изисква username и password?
 
Ето какво открих:

Код:
<html> 
<body><?php 
if (isset($_REQUEST['email'])) { 
  $to = $_REQUEST['email'] ; 
  $subject = $_REQUEST['subject'] ; 
  $message = $_REQUEST['message'] ; 
  mail( "$to@sms.mtel.com", "$subject", 
  $message, "||SSSSS||" ); 
  echo "Thank you for using my Testing SMS System."; 
  } 
else 
  { 
  echo "<form method='post' action='mail.php'> 
  mobile number(e.g 7123456789): <input name='email' type='text' /><br /> 
  Name: <input name='subject' type='text' /><br /> 
  Message:<br /> 
  <textarea name='message' rows='15' cols='40'> 
  </textarea><br /> 
  <input type='submit' /> 
  </form>"; 
  } 
?><br> 
</body> 
</html>

SMTP server: mail.mtel.net
SMTP port:25
SMTP Authentic.:NO
Натиснете "OK"

SMTP server: mail2.mtel.net
SMTP port:25
SMTP Authentic.:NO
Натиснете "OK"


SMTP server: smtp.globul.bg
 

Back
Горе