I have add a user in linux called "mailer". I'm only using this user to send outgoing mail, not receive. What do I need to do in order use the following SMTP information to send outgoing mail?
$config['host'] = 'localhost'; $config['port'] = '25'; $config['secure'] = ''; //ssl or tls $config['auth'] = 'true'; $config['username'] = 'mailer'; $config['password'] = '******';
Someone please help, how can I setup an account to send mail via SMTP?
Should I just be able to use SSH information as the username/password to send mail? The above configuration information is using PHPMailer via SMTP.
I ran a test to send email via PHPMailer and the mail logs show...
Aug 31 17:58:55 spireprod postfix/smtpd: disconnect from unknown[::1] Aug 31 17:58:55 spireprod postfix/smtp: DA1491BC1084: to=<email@example.com>, relay=gmail-smtp-in.l.google.com[184.108.40.206]:25, delay=0.48, delays=0.12/0.01/0.12/0.23, dsn=2.0.0, status=sent (250 2.0.0 OK 1283291935 gy42si22156132ibb.26) Aug 31 17:58:55 spireprod postfix/qmgr: DA1491BC1084: removed
The problem is that I never received it!