Need Help from Support

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
I email the support team and it didn't solve my problem at all...i mail them today and they will reply me with question the next day and i reply them with the answer that they asking and they will reply it the next day to me( i know about the time different, as soon i received the mail from them i quickly responed to it so that they can reply to me quickly also but....hmmmm ) and i don't know how long this will take...so i post asking for help here...the last time i post asking for a question here and my thread still no support answer until today....So this time a try again and hope some 1 can solve my problem.


Massage successfully found but i can't open the email confirmation link on the maintab. i use breakpoints when i debug my code.

PHP:
using Zennolab.CommandCenter;

namespace mailzz
{
	internal class MailStep1
	{
		public static string MailConfirm(Instance instance)
		{
			// https://accounts.google.com/VE?service=adwords&...
			var res= ZennoPoster.MailConfirm(instance, "30;60;120", "[email protected]", "lZAZp9EZqO", "pop3.live.com", 995, false, false,
			"Google AdWords Account Verification Email", @"https:\/\/accounts\.google\.com\/VE\?.*");
			
			
			instance.MainTab.Navigate(res);


			return res;
		}
	}
}
Email support asking me to try

var link = MailConfirm(Instance instance);
instance.MainTab.Navigate(link );

but it also didnt works for me....
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
Hi, I marked major issues in the script, and that message not found by these parameters means that there is no message in the INBOX folder by such regexps.
I've just ran it and found out that there is no messages at all in the inbox. I login via web and move messages back from POP into INBOX.
Then running again link was found correctly but had wrong format - with \n at the end.
So after getting URL before go by this, I removed line breaks:
res = res.Replace(Environment.NewLine, "");

PHP:
namespace mailzz
{
	internal class Step1
	{
		public static int Execute(Instance instance)
		{
			// Clearing cookies
			instance.ClearCookie();
			
			var res = ZennoPoster.MailConfirm(instance, "30;60;120", "[email protected]", "lZAZp9EZqO", "pop3.live.com", 995, true, false,
			"Google AdWords Account Verification Email", @"https://accounts.google.com/VE\?service=.*[a-z,A-Z,0-9]");
			res = res.Replace(Environment.NewLine, "");		
			Tab tb = instance.MainTab;
			if ((tb.IsVoid) || (tb.IsNull)) return -1;
			if (tb.IsBusy) tb.WaitDownloading();
			tb.Navigate(res);
			if (tb.IsBusy) tb.WaitDownloading();			

			return 0;
		}
	}
}
 
  • Спасибо
Реакции: prosperer888

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
Thanks bro, but why didn't use

public static string MailConfirm(Instance instance)
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
Thanks bro, but why didn't use

public static string MailConfirm(Instance instance)
You are welcome buddy! It is possible to use. This method just contain one operator inside so I'd jsut prefer use it such way. It is just about style of programming. You can do however you like more, just keep it working:-)
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
Oh okey...thanks again bro :az:
 

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