Jump to content
UBot Underground

Leaderboard

Popular Content

Showing content with the highest reputation on 04/05/13 in all areas

  1. Good point, I pulled this out of a bot that was actually trying to accomplish something else. The better code would be: set list position(%List of email addresses here, 0) connect to mail server("SMTP With SSL", "youremailusername@gmail.com", "password", "smtp.gmail.com", 587) { loop($list total(%List of email addresses here)) { send email($next list item(%List of email addresses here), "subject", "Plain Text", "Your Message here", "", "", "") } wait($rand(60, 120)) }
    1 point
  2. this code is not good - it is better to insert loop inside "connect to mail server" command otherwise it will try to connect to server each loop which is very bad.
    1 point
  3. This might be close to what you are looking for: set list position(%List of email addresses here, 0) loop($list total(%List of email addresses here)) { connect to mail server("SMTP With SSL", "youremailusername@gmail.com", "password", "smtp.gmail.com", 587) { send email($next list item(%List of email addresses here), "subject", "Plain Text", "Your Message here", "", "", "") wait($rand(60, 120)) } }
    1 point
×
×
  • Create New...