Advertisement
Guest User

Untitled

a guest
Mar 31st, 2017
2,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <?php
  2. $to = 'we1we1z98@yandex.com';
  3. $subject = 'Test email';
  4. $message = "Hello World!nnThis is my first mail.";
  5. $mail_sent = @mail( $to, $subject, $message );
  6. echo $mail_sent ? "Mail sent" : "Mail failed";
  7. ?>
  8.  
  9. SMTP=smtp.yandex.com
  10.  
  11. smtp_port=25
  12.  
  13. sendmail_from =we1we1z98@yandex.com
  14.  
  15. [sendmail]
  16.  
  17. smtp_server=smtp.yandex.ru;
  18.  
  19. smtp_port=25;
  20.  
  21. ; SMTPS (SSL) support
  22.  
  23. ; auto = use SSL for port 465, otherwise try to use TLS
  24.  
  25. ; ssl = alway use SSL
  26.  
  27. ; tls = always use TLS
  28.  
  29. ; none = never try to use SSL
  30.  
  31. smtp_ssl=auto
  32.  
  33. default_domain=yandex.com
  34.  
  35. error_logfile=error.log
  36.  
  37. debug_logfile=debug.log
  38.  
  39. auth_username=we1we1z98@yandex.com
  40.  
  41. auth_password=****
  42.  
  43. pop3_server=pop.yandex.com
  44.  
  45. pop3_username=we1we1z98@yandex.com
  46.  
  47. pop3_password=Eeb4wbXxqz
  48.  
  49. force_sender=we1we1z98@yandex.com
  50.  
  51. ;force_recipient=
  52.  
  53. hostname=yandex.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement