Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6703 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi again

still on my mailproblems im afraid... ive got a list of contacts that all need a follow-up mail sent to them. the thing is that i dont want to send to follow-up to close to the first mail, i need to wait a week before i send it. so the way i was thinking was like this: when ever i send the first mail i take tha date and email adress and stick it into a table (time_check). when i then go to send the follow-up it first checks the time code, and checks with the current date to se it a week has passed, before sending the mail. when th efollowup has been sent the old record is erased and a new one is put in its place.

the thing is that i cant the time_check to work. i dont know if this is the right way either... any ideas?

Posted

...

Add an additional field, called senddatetime or something and also another one called sendsearch.

Then, when sending, simply set senddatetime to Get(CurrentHostTimeStamp).

Then set sendsearch to be an unstored calc result number: If(GetAsDate(senddatetime) + 7 < Get(CurrentDate) ; 1 ; 0)

Then when looping through your records just add an if (sendsearch = 1) do whatever, else, do nothing.

This topic is 6703 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.