Hi!
I am using thread to send multiple/bulk email. But my thread is not calling
the me method that send emails.
I work well on localhost. But when i upload it on server it didn't call the
method (sendNewsletter _1).
I am using following code
public static bool sendBulkEmail_1 (int newsletterID)
{
m_newsletterID = newsletterID;
Thread threadMail = new Thread(new ThreadStart(sen dNewsletter_1)) ;
threadMail.IsBa ckground = true;
threadMail.Star t();
Thread.Sleep(20 00);
return true;
}
public static void sendNewsletter_ 1()
{
Log_1("SendNews Letter"); //just write this test string to a file. Its just
or testing.
}
I am using thread to send multiple/bulk email. But my thread is not calling
the me method that send emails.
I work well on localhost. But when i upload it on server it didn't call the
method (sendNewsletter _1).
I am using following code
public static bool sendBulkEmail_1 (int newsletterID)
{
m_newsletterID = newsletterID;
Thread threadMail = new Thread(new ThreadStart(sen dNewsletter_1)) ;
threadMail.IsBa ckground = true;
threadMail.Star t();
Thread.Sleep(20 00);
return true;
}
public static void sendNewsletter_ 1()
{
Log_1("SendNews Letter"); //just write this test string to a file. Its just
or testing.
}
Comment