Category Archives: php
Installation of Ubuntu 16.04.2 (apt parts)
openssh open-vm-tools apache2 php libapache2-mod-php7.0 php7.0-gd php7.0-mysql php7.0-curl php7.0-json php7.0-mbstring php7.0-zip php7.0-xml mysql-server
Posted in Debian, php
Leave a comment
How to Send Email from a PHP Script Using SMTP Authentication
Install pear:mail, pear:net_smtp code: require_once “Mail.php”; $from = “Sandra Sender “; $to = “Ramona Recipient “; $subject = “Hi!”; $body = “Hi,\n\nHow are you?”; $host = “mail.example.com”; $username = “smtp_username”; $password = “smtp_password”; $headers = array (‘From’ => $from, ‘To’ … Continue reading