Hi,
my c code for mail download is:
it works fine if I put email directly in code, but if I put:
{-Variable.email-}
instead [email protected]
it will not work in ZP, but this work in project creator.
My version is 5.3.1.0
my c code for mail download is:
Код:
Tuple<string, string, string, string>[] allMails;
allMails = ZennoPoster.BulkMailDownload("[email protected]",
"password", "mail.example.com", 110, false,
ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.POP3,
24*100, 10000, false);
// loop fo all messages
foreach(Tuple<string, string, string, string> tuple in allMails)
{
// adding messages to the table called Tabl1
// tuple.Item1 - sibject, tuple.Item2 - from, tuple.Item3 - html message, tuple.Item4 - text message
List<string> tmp = new List<string>();
// tmp.Add(tuple.Item1);
// tmp.Add(tuple.Item2);
// tmp.Add(tuple.Item3);
tmp.Add(tuple.Item4);
project.Tables["Tabl1"].AddRow(tmp);
}
{-Variable.email-}
instead [email protected]
it will not work in ZP, but this work in project creator.
My version is 5.3.1.0