Jump to content

Godaddy Web Email


Recommended Posts

I have been working on making a basic script that will open a godaddy web email compose link.

All this should do is give me a nice little space to enter a email along with a message to basicly email myself. I tried using the email UDF but it only works with gmail I discovered.

But here is what I have so far

The only problem with this nice little scirpt is that for some reason it keeps giving me a error after logging in that says 

Line 585

WEnd

WEnd^ ERROR

This script is no where near 585 lines I am confused thanks.

#include <IE.au3>
#include <array.au3>
#Include <File.au3>
#include <string.au3>
#include <INet.au3>
#include <Excel.au3>
 
$oIE = _IECreate("https://email22.secureserver.net/pcompose.php");
_IELoadWait($oIE);
Sleep(100);
$HTML = _IEDocReadHTML($oIE);
$Title = _stringBetween($HTML, '<title>', '</title>');
if $Title[0] = "Workspace Login" Then
   
   $oForm = _IEFormGetObjByName ($oIE, "login_form");Runs the form of the webpage
 
   $EmailUsernameFeild= _IEFormElementGetObjByName ($oForm, "username");Enters the password
   _IEFormElementSetValue ($EmailUsernameFeild, "MyUSERNAME");Enters the password
   
   $EmailPasswordFeild= _IEFormElementGetObjByName ($oForm, "password");Enters the password
   _IEFormElementSetValue ($EmailPasswordFeild, "MyPASSWORD");Enters the password
   
   _IEFormSubmit($oForm);
   
EndIf
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...