HELP! - Can this Be Done in PHP?

2 replies
I Used to be a mainframe programmer and
just play with PHP for fun

I have a Simple Emailing Program that
is written in PHP

It uses the PHPMailer function

It allows you to Upload a CSV File with
various Fields and send out Personalized emails
using the Fields

It then brings you to a Form where you can enter
the Following Fields

Subject
From Name
From Email

Message Body

I had it programmed so that It would Use Random
Subject lines which it would pull form a file

I want it to also use Random Emails and From names
from a List so that

Email 1 would come from John Smith - John Smith@Gmail.com
Email 2 would come from Mary Jones - Mary Jones@gmail.com

I would maybe have 10 different Emails it would be coming from

The Random Subject heading works like a charm

The From Name and From Email don't work. Its pulling the info
fine because I can use those variables in the email body but doesn't
work in the email headers

I Know in the past I had programs which would read a file an send
emails which "Came From" EMail adresses that were coming form variable
Data

Maybe it would be easier with the Mail function instead of Php mailer?

Help!!! lol

Jack
#php

Trending Topics