Ankit
Ankit

Reputation: 339

Configuring LAMP to Send Mails

I have LAMP stack installed on VPS. Would like to send mails using PHP's internal mail() function.

I have an account with Fastmail, and have credentials for their SMTP Server. So would like to use that for mailing purposes instead of setting one of my own. Additionally, there should be a way to throttle/queue the mails.

Can someone guide me to the direction to where should I start?

EDIT: I am on Ubuntu on Linode.

NOTE: This is not for spamming. Its meant for my side project.

Upvotes: 0

Views: 2926

Answers (2)

caspersky 48
caspersky 48

Reputation: 239

Use Php mailer class [ http://pear.php.net/package/Mail/ ] and just write simple wrapper for queing tasks,setting up email credentials for sending emails .

Upvotes: 1

maxjackie
maxjackie

Reputation: 23282

depending upon your os Windows or *nix

configure your smtp service accordingly

This will help u

Upvotes: 0

Related Questions