Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to send mail to the most recently registered user after the completion of time of the countdown timer.

What I have tried:

Didn't get any idea after googling it.
Posted
Updated 8-Aug-17 20:28pm

1 solution

Get the email address using and SQL ORDER BY clause:
SQL
SELECT TOP 1 emailAddressColumnName FROM MyTable ORDER BY dateOfRegistrationColumnName DESC

Then use that address to send the email. That's more complex, but this may help: Sending an Email in C# with or without attachments: generic routine.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900