gontham has asked for the
wisdom of the Perl Monks concerning the following question:

Hello,
I am trying to create a new gmail account with WWW::Mechanize using the script below, but it is not working, and it keeps loading the sign up page eventhough all the fields are filled correctly.
Any suggestion or help would be really appreciated.

Maybe you like gmail, like me- I would like every one of our corporate clients and their employees to use gmail.
It hurts my feelings when a small business with ten employees pays a few grand a year to use m$ junk... anyhow..

So maybe like me you think if you just set them up- just like that- they'll actually use their gmail accounts.
You got a list of ten or twenty people... And you want to streamline the deal.

No no.. I'm not convinced! You say. I almost have it! I'm almost able to complete a sign up with my hacks!

You know what's going to happen to your collection of mechanize calls and swanky regexes once they're working great?
Google's going to rename their css ids, or change their signup altogether- and your valuable time will go down in flames. You will be the only one who will know your suffering. It will be lonely and you will have nothing to show for it.

ok, maybe it's because i did not explain the use of this script but i don't get the severity of the replies (and the -6 reputation i just got).

I am trying to create an email manager inside my program, so i want an interface to the gmail sign up page.It's easier for the user to create an account and i want to perform other function after the user creates an account, like saving the information entered in the program's database and setting up POP3...
also i am downloading the captcha and providing it to the user.

I do not believe this is considered spamming or malicious. And there is no "blaming my tools" going on, i just want to know what's wrong with the script.
I guess contacting google would be the right thing to do, thanks leocharre.

The reaction is because people thought it likely that you were a spammer, and nobody likes spammers.

Even your more detailed response says that you're basically screen scraping to set up a man in the middle attack. Particularly with the DNS issues that are out there, Google has to be worried about blocking man in the middle attacks. So if you got your script working, it won't necessarily just be accidental changes that break your script.

Why are you providing an interface to an interface? Google provides an interface to getting a gmail account. Why are you trying to hide their front end? Are you posing to your customers as an email provider?

Pop3??? You mean so the user can log into their gmail account and check their email in another server, not gmail? Right?

You don't mean that you want them to use thunderbird, squirrelmail, outlook express, etc - to check gmail- right? Because you're gonna get surprises.

At this point I'm wondering if you even use gmail yourself.

You think you can provide an easier means to create a gmail account with your tools? Maybe you *should* contact google. I bet they pay well.

If you have any sort of legitimate business and you want to circumvent their signup method- please read their policies and disclaimers- all the mumbo jumbo.

If you had a Lamborghini Diablo, would you work on it with your great grandpappy's rusty ol tools?

I do not believe this is considered spamming or malicious.
You better believe it. Still not convinced, ask google how they feel about it.

And there is no "blaming my tools" going on, i just want to know what's wrong with the script.
The title says "WWW::Mechanize cannot create new gmail account", WWW::Mechanize is the tool you're blaming.