Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = 'we1we1z98@yandex.com';
- $subject = 'Test email';
- $message = "Hello World!nnThis is my first mail.";
- $mail_sent = @mail( $to, $subject, $message );
- echo $mail_sent ? "Mail sent" : "Mail failed";
- ?>
- SMTP=smtp.yandex.com
- smtp_port=25
- sendmail_from =we1we1z98@yandex.com
- [sendmail]
- smtp_server=smtp.yandex.ru;
- smtp_port=25;
- ; SMTPS (SSL) support
- ; auto = use SSL for port 465, otherwise try to use TLS
- ; ssl = alway use SSL
- ; tls = always use TLS
- ; none = never try to use SSL
- smtp_ssl=auto
- default_domain=yandex.com
- error_logfile=error.log
- debug_logfile=debug.log
- auth_username=we1we1z98@yandex.com
- auth_password=****
- pop3_server=pop.yandex.com
- pop3_username=we1we1z98@yandex.com
- pop3_password=Eeb4wbXxqz
- force_sender=we1we1z98@yandex.com
- ;force_recipient=
- hostname=yandex.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement