PHP Script - Email sending using Postfix

IN PROGRESS
Bids
12
Avg Bid (USD)
$58
Project Budget (USD)
$30 - $50

Project Description:
I need a script in PHP, that will send email using postfix in linux to a list of emails.

The script should ask for the sender's email, sender's name and subject.
Message body should be loaded from a txt file.
Attachment must be enabled , so I can attach documents to the message.
Also should ask for which list of emails should I send the message to.

Example:

script.php

After running the script, should reset the windows and ask:

Sender's name: Enter sender's name / Enter
Sender's email: Enter sender's email / Enter
Subject : Enter Subject / Enter
Attach file : Yes/No - If yes , ask which file to attach. If No move on ..
Email list : enter the file name of the list of emails you want to send.

Message body should be automatically loaded from a file.

Skills required:
PHP
Hire hoenselaar77
Project posted by:
hoenselaar77 Netherlands
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 40
in 1 days
$ 100
in 0 days
$ 50
in 1 days
Hire Days
$ 50
in 0 days
$ 75
in 2 days
$ 50
in 2 days
$ 30
in 1 days
$ 60
in 4 days
$ 100
in 2 days
Hire zeroty
$ 45
in 1 days