PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Jul 15, 2020 12:26 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jul 12, 2009 3:33 pm 
Offline
Forum Newbie

Joined: Thu Sep 20, 2007 4:51 pm
Posts: 3
I'm currently working on a mailing list manager of sorts. Registered users will be able to send an e-mail to a particular address, from which a PHP script will retrieve their e-mail, check their credentials, and then distribute that e-mail to a number of other users.

I don't want to have to parse the original e-mail, split it into its constituent parts, and rebuild it with Swift; I'd rather just take the message as it has been received, remove/modify some of the message headers, and leave the rest intact (including MIME boundary definitions etc.), so: is there a way of using the Swift library to send a prepared message of this kind?

I should add that the reason why I don't just use PHP's mail() is because hundreds of e-mails will be sent, and as I understand it, mail() will keep opening and closing the SMTP connection, while Swift won't (and I can't rely on PEAR because I don't want to have to persuade my webhost to install the necessary packages).

I'd be grateful for any advice (even if it's "no, can't be done")!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group