-3

How can I generate automatic mail sending logic using PHP at the end of the month in an application?

halfer
  • 19,824
  • 17
  • 99
  • 186
Virat
  • 7
  • 1
  • 1
  • 2
    Hi Virat. Unfortunately there isn't nearly enough information there for people to usefully help you. Use cron (or Windows Scheduler) plus a PHP script, your MySQL database and an email library, such as SwiftMailer. Let this question close, give it a try, and come back with a specific question if you get stuck. Good luck! – halfer Feb 20 '13 at 10:27

1 Answers1

1

You should use cron job here.

Develop a script to send email at the end of the month and run it through cron job.

Please also visit link for How to send emails via cron job using php. and how to set up cron job.

Community
  • 1
  • 1
Roopendra
  • 7,674
  • 16
  • 65
  • 92