I am working on a project like Google calendar.I want to send email on a particular time(defined by client) to the client's email ID using PHP-SMTP protocol.Can i do it using php only, or i have to use java for it? tell me the code and flow of the program? please help me in this regards.

You'd probably have to use a scheduler (cron job) to check your database at regular intervals. For e-mailing I'd use PHPMailer. I can't tell you the flow of your program, that is something you'll have to define.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.