0
votes
1answer
44 views

Mail Server Caching

I'm currently working on a web mail client. When a user logs in, I'm fetching all the mails from the INBOX from the beginning of time. As expected this is pretty darn slow. I'm planning to implement ...
1
vote
1answer
337 views

Task Scheduler shared hosting

I am using a shared host that which doesn't support CRON/TaskScheduler (it is a windows Godaddy server). I need to search on email server for new emails on each 1 hour, I have the script on PHP. Can ...
2
votes
2answers
196 views

Validating Emails in PHP

I wrote the following function to validate emails for a web app I'm working on: function validate_email($email) { $valid = true; if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { ...
1
vote
2answers
578 views

Registration: Email hash and verifying only one account per email

I'm using a registration function that hashes the email in PBKDF2 with a random and unique Salt each time. The hashes email and his salt are saved in the DB. No problem with that. The problem is that ...
4
votes
6answers
3k views

PHP email blasts using a cron job

My PHP application needs to send product expiry notifications to customers everyday. I am thinking of: A one-time cron job for a php script that identifies the customers from a table of 10000 rows ...