Results 1 to 10 of 10

Thread: email from script

  1. #1
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default email from script

    i have looked around and couldn't find anything , but i swear something about this was in someones sig :/

    how can one email a message within a script?



    UPDATE:


    With the helpful suggestions posted below, i created this SMS texting procedure. this procedure is run by a free website host (so it will always be up and it can be used by anyone here ) . CURRENTLY, it only supports verizon numbers (dont know if it only works for only the US or not). i will add more carriers if ppl want me to.

    to set it up:

    1. add a global constant named "phonenumber" (string value of your phone number)... example:
    Code:
    const
      phonenumber='5555555555';
    2. add this function directly after DeclarePlayers() or forward it:
    Code:
    procedure sendTextMessage(msg:string);
    var
     test: integer;
    begin
      test:=(InitializeHTTPClient(false,false));
      addpostvariable(test,'test',msg);
      addpostvariable(test,'number',phonenumber);
      postHTTPPageEx(test,'http://leafypiggy.com/test.php');
      FreeHTTPClient(test);
    end;
    3. whenever you wish to send a text message use this command:
    Code:
    sendTextMessage('');
    Last edited by x[Warrior]x3500; 06-20-2011 at 05:02 AM.

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Searched "Send email script"
    http://villavu.com/forum/showthread....d+email+script

    EDIT: Whoops! thanks, Awkwardsaw..
    Last edited by Zyt3x; 06-11-2011 at 12:36 PM.

  3. #3
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    that tut is in srl members

    basicly it uses php to send the email, and you have scar send POST data(or GET, if you want) to said php script
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  4. #4
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    x[Warrior]x3500, you do not have permission to access this page. This could be due to one of several reasons:

    Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
    If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

    EDIT:

    thanks guys i will look into that. getting tired of being at the store, coming back, and seeing my bot has stopped -.- . i need notifications!! (email->text)
    Last edited by x[Warrior]x3500; 06-15-2011 at 04:30 AM.

  5. #5
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    also, its best to use freehostia as the web server, unless you want to deal with setting up apache and an email server. and the php procedure is email(), so you can look it up
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  6. #6
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Or just set up apache on your machine that's botting, since you know it will be up anyway (botting). Would also be faster depending on your internet speeds, data size, etc. (if it's just a text or something I'm sure it'd be negligible), to a small degree. And way cooler.

  7. #7
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    also, its best to use freehostia as the web server, unless you want to deal with setting up apache and an email server. and the php procedure is email(), so you can look it up
    It is mail() not email().
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  8. #8
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    It is mail() not email().
    yes, typo
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  9. #9
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Alternatively you could get a simple webhost that supports PHP and make a text file + php file which accepts POST requests from the bot and you'd just browse to there to see whether it's still going.
    Ce ne sont que des gueux


  10. #10
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    read first post for update and script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •