This topic is locked

Email according to one result

7/25/2019 12:26:00 PM
ASPRunner.NET General questions
O
Onofre author

Good afternoon
Depending on one line result, I need the system to automatically send an email.
I have tried anyway but to no avail.
Can anyone tell me the right procedure for this action?
Thank you very much

jadachDevClub member 7/25/2019

I think we need more detail.

admin 7/26/2019

I, also, cannot decipher what "Depending on one line result" is.
What page is that?

O
Onofre author 7/26/2019



I, also, cannot decipher what "Depending on one line result" is.
What page is that?

O
Onofre author 7/26/2019





Good Morning,

I have a field with a result in days, a difference between the expiration date and the current date. When this difference arrives within 10 days an email has to be sent to the responsible.

O
Onofre author 7/26/2019



I think we need more detail.


Good Morning,

I have a field with a result in days, a difference between the expiration date and the current date. When this difference arrives within 10 days an email has to be sent to the responsible.

O
Onofre author 7/26/2019



I think we need more detail.


Good Morning,

I have a field with a result in days, a difference between the expiration date and the current date. When this difference arrives within 10 days an email has to be sent to the responsible.

O
Onofre author 7/26/2019



I think we need more detail.



I have a field with a result in days, a difference between the expiration date and the current date. When this difference arrives within 10 days an email has to be sent to the responsible.

jadachDevClub member 7/27/2019

Try something like this

DateTime dt1 = DateTime.Parse(values["expirationdate"].ToString());

DateTime dt2 = DateTime.Today.AddDays(10);
if (dt1.Date < dt2.Date)

{

// send email

}

else

{

// do nothing

}



If you need this to happen on a automatically by schedule, I recommend using MassMailer template

admin 7/30/2019

If you need something automated - MassMailer template can help.

https://xlinesoft.com/massmailer