question

pramod.kietit avatar image
pramod.kietit asked

what is the best way to send email?

hi, as of now we are preparing a html body and sending emails from front end as they are triggered by user action. but now we need to send email every day at a specific time basing on the Due Date for a particular ticket. so some of my friends suggested to use database mail option. will it be an efficient way or any other alternative is there..?
email
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
This site works by voting. Please indicate all helpful answers by clicking on the thumbs up next to those answers. If any one answer lead to a solution, please indicate this by clicking on the check mark next to that answer.
0 Likes 0 ·
NeerajTripathi avatar image
NeerajTripathi answered
Yes, DB mail is an inbuilt tool to send mail in sql server and it's good.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image
Fatherjack answered
I think you need to use what is appropriate for your system. DBMail is great if you are using it in combination with the SQL engine to send database data or to send notifications in response to data conditions. If your UI is working directly with the email server and there is no need to involved SQL Server then dont. It will just bring another object in to the process that is an extra layer to debug when something breaks.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.