Checking email

awzse00

Client
Регистрация
16.03.2013
Сообщения
231
Благодарностей
36
Баллы
28
Can anybody tell me a good solution on how to make zenno verify the email everytime ? Sometimes it's logges in some times it doesn't, and i have a pretty high quality template that i need to run, with paying proxies 1 by 1, so discarding them because zenno can't login correctly to the email it's pretty expensive. The email that i'm using is privateemail and it's a paid service, and besides that its works ok 7 times/10.
 

zortexx

Client
Регистрация
19.09.2011
Сообщения
2 520
Благодарностей
1 226
Баллы
113

awzse00

Client
Регистрация
16.03.2013
Сообщения
231
Благодарностей
36
Баллы
28
I mean that i register on a website, they send me a confirmation link, that zenno has to get from e-mail and confirm the accout, now sometimes it manages to connect to the email to get the link, and sometimes it doesn't, especially in ProjectMaker i encouter the problem most often, i have to close/open zenno in order to make it work again, to connect to the email to get the link
 

zortexx

Client
Регистрация
19.09.2011
Сообщения
2 520
Благодарностей
1 226
Баллы
113
I mean that i register on a website, they send me a confirmation link, that zenno has to get from e-mail and confirm the accout, now sometimes it manages to connect to the email to get the link, and sometimes it doesn't, especially in ProjectMaker i encouter the problem most often, i have to close/open zenno in order to make it work again, to connect to the email to get the link
Did you use automatic settings or manual?
Usually I use mail with web interface and do receive mail in browser. It works perfectly.
 
  • Спасибо
Реакции: awzse00

ssXXXss

Client
Регистрация
23.12.2014
Сообщения
7 379
Благодарностей
2 041
Баллы
113
use MailKit
 
  • Спасибо
Реакции: orka13 и awzse00

awzse00

Client
Регистрация
16.03.2013
Сообщения
231
Благодарностей
36
Баллы
28
There's no need, i think you are talking about https://github.com/jstedfast/MailKit, this solution that i have right now is very good and cheap on the domain part, the only problem is getting that email everytime.
 

awzse00

Client
Регистрация
16.03.2013
Сообщения
231
Благодарностей
36
Баллы
28

ssXXXss

Client
Регистрация
23.12.2014
Сообщения
7 379
Благодарностей
2 041
Баллы
113

ssXXXss

Client
Регистрация
23.12.2014
Сообщения
7 379
Благодарностей
2 041
Баллы
113
MailKit receives letters from the first received in the soap, so you do not see your letter, you have to take from the end
 

ssXXXss

Client
Регистрация
23.12.2014
Сообщения
7 379
Благодарностей
2 041
Баллы
113
C#:
public class MailExt
    {
        public static bool DownloadMessages(IZennoPosterProjectModel project, string server, int port, string login, string password, int count)
        {
            using (var client = new ImapClient())
            {
                client.Connect(server, port, SecureSocketOptions.SslOnConnect);
                client.Authenticate(login, password);
               
                var inbox = client.Inbox;
                inbox.Open(FolderAccess.ReadOnly);
               
                for(int i = inbox.Count - 1; i >= inbox.Count - count; i--)
                {
                    var message = inbox.GetMessage (i);
                    project.Lists["SourceList"].Add(message.Subject);
                }
               
                client.Disconnect(true);
            }
            return true;
        }
    }
C#:
var server = project.Variables["Server"].Value;
var login = project.Variables["Login"].Value;
var password = project.Variables["Password"].Value;
return MailExt.DownloadMessages(project, server, 993, login, password, 20);
 

awzse00

Client
Регистрация
16.03.2013
Сообщения
231
Благодарностей
36
Баллы
28
C#:
public class MailExt
    {
        public static bool DownloadMessages(IZennoPosterProjectModel project, string server, int port, string login, string password, int count)
        {
            using (var client = new ImapClient())
            {
                client.Connect(server, port, SecureSocketOptions.SslOnConnect);
                client.Authenticate(login, password);
              
                var inbox = client.Inbox;
                inbox.Open(FolderAccess.ReadOnly);
              
                for(int i = inbox.Count - 1; i >= inbox.Count - count; i--)
                {
                    var message = inbox.GetMessage (i);
                    project.Lists["SourceList"].Add(message.Subject);
                }
              
                client.Disconnect(true);
            }
            return true;
        }
    }
C#:
var server = project.Variables["Server"].Value;
var login = project.Variables["Login"].Value;
var password = project.Variables["Password"].Value;
return MailExt.DownloadMessages(project, server, 993, login, password, 20);
thank you for the time and effort, i will test it out and see how it works, maybe in c# works better. again, thank you for your time and effort.
 

ssXXXss

Client
Регистрация
23.12.2014
Сообщения
7 379
Благодарностей
2 041
Баллы
113
MailKit proxy supports socks
 
Последнее редактирование:

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)