Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14152
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: sending pdf files to individual email... |
| Date | 2014-07-29 19:50 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <lr8ttv$p8d$1@dont-email.me> (permalink) |
| References | <80518368-4133-4211-9d51-4949a5799d06@googlegroups.com> <0.c785a44165ca78df9327.20140729114034BST.87ha2030ta.fsf@bsb.me.uk> <lr881l$ovj$1@dont-email.me> |
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@gmail.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sending pdf files to individual email... nag <visitnag@gmail.com> - 2014-07-28 22:31 -0700
Re: sending pdf files to individual email... "J.O. Aho" <user@example.net> - 2014-07-29 09:34 +0200
Re: sending pdf files to individual email... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-29 11:40 +0100
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-29 09:36 -0400
Re: sending pdf files to individual email... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-29 18:31 +0100
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-29 14:19 -0400
Re: sending pdf files to individual email... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-29 20:40 +0200
Re: sending pdf files to individual email... Luuk <luuk@invalid.lan> - 2014-07-30 20:26 +0200
Re: sending pdf files to individual email... Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-29 19:53 +0000
Re: sending pdf files to individual email... Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-29 19:50 +0000
Re: sending pdf files to individual email... Derek Turner <frderek@cesmail.net> - 2014-07-29 11:11 +0000
Re: sending pdf files to individual email... nag <visitnag@gmail.com> - 2014-08-19 07:20 -0700
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-19 11:42 -0400
Re: sending pdf files to individual email... Michael Vilain <vilain@NOspamcop.net> - 2014-08-22 22:46 -0700
csiph-web