FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » sending pdf files to individual email...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: sending pdf files to individual email... [message #186439 is a reply to message #186435] Tue, 29 July 2014 19:50 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Tue, 29 Jul 2014 09:36:52 -0400, Jerry Stuckle wrote:

> Actually, I think it's a pretty logical thing to do. Retrieving data
> from a SQL database is easier than a .csv file.

True, but given a file of empno & email as csv, and a directory of
empno.pdf, it's probably as easy to step through the file, find the pdf,
mail it as it is to read the file into a database, step through the file
list and find the email from the db, email the file.

The directory of pdf files is effectively already random access data.

Swings and roundabouts, but if this was a once off event and I had no
expectation of other uses for the empno / name / email table, I'm not
sure I'd bother building a db for this mailshot.

The bigger question for me would be whether to use python or php to
script the process. ;)

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: We are trying to make the world a better place, wanna join us?
Next Topic: installation de php_ssh2.dll avec PHP 5.4.3
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 19 11:12:28 GMT 2024

Total time taken to generate the page: 0.05111 seconds