Michael Kochilla
asked on
Sendmail based on record update
We have an ASP.NET C# project that uses DevExpress tools.
There is a ASPxTreeList that is used to display records for review. When a record is updated to "accept" we would like to trigger an email using sendmail. We need help in getting this email triggered from this DevEx tool.
Any help is greatly appreciated.
There is a ASPxTreeList that is used to display records for review. When a record is updated to "accept" we would like to trigger an email using sendmail. We need help in getting this email triggered from this DevEx tool.
Any help is greatly appreciated.
ASKER
We would also need to retrieve the sendTo email address from the updated record
Please show some current code. Especially your current "accept" routine would be useful.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient.send?view=net-5.0
This assumes a sendmail server is installed and ready of course.