SendMail sending more than one mail
s4325:
When I tried to use SendMail, it is sending mails for each tick whenever an order is open.
I just want only one mail. How can I do this.
Someone please help.... thanks in advance.....
if (...........................)
{
SendMail("Buy","Opened");
}
When I tried to use SendMail, it is sending mails for each tick whenever an order is open.
I just want only one mail. How can I do this.
Someone please help.... thanks in advance.....
if (...........................)
{
SendMail("Buy","Opened");
}
Nothing? Any idea?
Thanks
Omobono
s4325:
When I tried to use SendMail, it is sending mails for each tick whenever an order is open.
I just want only one mail. How can I do this.
Someone please help.... thanks in advance.....
if (...........................)
{
SendMail("Buy","Opened");
}
When I tried to use SendMail, it is sending mails for each tick whenever an order is open.
I just want only one mail. How can I do this.
Someone please help.... thanks in advance.....
if (...........................)
{
SendMail("Buy","Opened");
}
bool MailAlreadySent = false
start()
{
if (some condition)
{
if (MailAlreadySent == false)
{
SendMail("Buy","Opened");
MailAlreadySent = true;
}
}
}
I just want only one mail. How can I do this.
Someone please help.... thanks in advance.....
if (...........................)
{
SendMail("Buy","Opened");
}