ideas of sending emails reminding users of some stuff

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

tiger
New php-forum User
New php-forum User
Posts: 16
Joined: Thu Jun 23, 2011 9:28 pm

ideas of sending emails reminding users of some stuff

Postby tiger » Sun Oct 06, 2013 12:39 am

Hey everyone,

Is there a way that I can send regular email reminder for all the users registered in the website without having a database?

For example, let's say I have a website that asks people to enter some special days and their email, and then like every month, they get an email as a reminder that "You have 60 days left for your special day".

I'm just throwing an example above, so I want to know if you guys have ideas of making that happen?

Thank you,

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: ideas of sending emails reminding users of some stuff

Postby johnj » Mon Oct 07, 2013 10:38 pm

for your code to remmeber these sort of things, you should either have a database/table or a file.

tiger
New php-forum User
New php-forum User
Posts: 16
Joined: Thu Jun 23, 2011 9:28 pm

Re: ideas of sending emails reminding users of some stuff

Postby tiger » Mon Oct 07, 2013 10:47 pm

johnj wrote:for your code to remmeber these sort of things, you should either have a database/table or a file.


Thanks johnj!

The file is a great idea!

I was thinking if I store the data into an array, would that work too? I'm not really sure of the way to do it, but I was just searching for info about it.

like I get the data right from the website via input (hidden) and store it directly into an array.

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: ideas of sending emails reminding users of some stuff

Postby johnj » Fri Oct 11, 2013 11:45 pm

....like I get the data right from the website via input (hidden) and store it directly into an array....


Once a user is registered he/she has to be in a database or file. I don't understand what you meant by "...get the data right from the website..."

tiger
New php-forum User
New php-forum User
Posts: 16
Joined: Thu Jun 23, 2011 9:28 pm

Re: ideas of sending emails reminding users of some stuff

Postby tiger » Sat Oct 26, 2013 8:43 pm

Thanks again John

I built a database and used it for that. Thanks for your advice. :D


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron