Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End php code for future mail sending

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27438
    godfray
    Member

    I am developing a greeting card website with PHP. At this point in time I am able to send card for current date and time (today’s date – immediately), but I need to know if I need to send card on some other future dates/ time, what should be done, give your suggestions please. If anyone has sample source code for this, please provide me.

    #68935

    so you want to be able to send mail later on by scheduling the mail or do you want to be able to work out dates and times relatively like tomorrows date?

    you need to be a little clearer in your questions

    -James

    #68941
    Argeaux
    Participant

    store all the data for the card in the database and use a cron job to check the database every 5 minutes to check if there is a date in the past, if so send the card if not do not send the card yet.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.