Jump to content
UBot Underground

Sending Email Error


Recommended Posts

The error message I am getting is as follows:

 

Object reference not set to an instance of an object:

 

Source: Loop email.

 

The csv attached to #webdomain and email has the following format.

url,email

 

Here is the ubot code:

 

 

clear table(&list of website and emails)
ui stat monitor("Status:"#status message)
ui open file("Data File"#webdomain and email)
ui stat monitor("<BR><BR>""")
ui text box("Email Subject"#email subject)
ui block text("Email Message"#email message)
create table from file(#webdomain and email&list of website and emails)
set(#total messages$table total rows(&list of website and emails), "Global")
set(#current row, 0, "Global")
loop($table total rows(&list of website and emails)) {
    connect to mail server("IMAP With SSL""thisistheemailIamusingforsending@gmail.com""XXXXX""imap.gmail.com", 993) {
    }
    set(#current website$table cell(&list of website and emails#current row, 0), "Global")
    set(#current email$table cell(&list of website and emails#current row, 1), "Global")
    set(#status message"Sending Message # {#current row} of {#total messages}""Global")
    send email(#current email#email subject"Plain Text"#email message"""thisistheemailIamusingforsending@gmail.com""")
    increment(#current row)
}

 

This should just cycle through the text file and send the email no?

 

I note to Seth that the Tutorial Reference (inside ubot) is out of date and therefore does not provide an example for sending that can be followed. Neither on the Wiki.

 

Cheers

 

Ninjamanz.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...