dezkit Posted July 27, 2008 Share Posted July 27, 2008 hi, i have like 50 entries in my database and for one of my scripts i run a while loop to send a newsletter to each one of them. it takes very long for it to long and i was wondering if there is anything like a progress bar that i can use thanks Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/ Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 bump b4 i go to sleep Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-600583 Share on other sites More sharing options...
toivo Posted July 27, 2008 Share Posted July 27, 2008 Hi, http://pear.php.net/package/HTML_Progress2 I have not tried it but it looks promising. Regards, Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-600585 Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 lol, i just woke up, thanks for the reply but... the download link doesnt work ;/ Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-600598 Share on other sites More sharing options...
toivo Posted July 27, 2008 Share Posted July 27, 2008 Try this then: http://download.pear.php.net/package/HTML_Progress2-2.4.1.tgz - and check the dependencies from: http://pear.php.net/package/HTML_Progress2/download If that scares you but you are handy with javascript, you should consider a plugin for jQuery http://jquery.com: http://digitalbush.com/projects/progress-bar-plugin/ Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-600600 Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 toivo what is tgz? Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-601081 Share on other sites More sharing options...
GingerRobot Posted July 27, 2008 Share Posted July 27, 2008 Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. For the sending of large amounts of email, see the » PEAR::Mail, and » PEAR::Mail_Queue packages. Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-601103 Share on other sites More sharing options...
toivo Posted July 29, 2008 Share Posted July 29, 2008 toivo what is tgz? It is a gnu-zipped tar file, nothing that WinRAR couldn't handle - if you are a Windows user. Cheers, toivo Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-602488 Share on other sites More sharing options...
d.shankar Posted July 29, 2008 Share Posted July 29, 2008 dezkit post ur table structure ... is it enough for you if the script just sends mail using mail() function ?? if so, i'll code it. Link to comment https://forums.phpfreaks.com/topic/116787-mysql-email/#findComment-602506 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.