Results 1 to 13 of 13

Thread: E-Mail?

  1. #1
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default E-Mail?

    Is there any way that scar can directly email you?

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Make it send the information to an online email service which will email you.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you give me a good kick start? Not really tell me exactly how to do it but just what functions to use?

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    You'll have to use scar's http post functions to post it to a form or if the website uses PHP's get method then you'll need to use scar's openWebPage to send the info.

    First step would be finding a place that'll send you the email.
    Then read it's source to figure out what variables they use in their form.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #5
    Join Date
    Sep 2008
    Location
    Chicago
    Posts
    224
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can also use an smtp server.

    This is what I use. It will only work for comcast though, you will have to change it if you want it to work with a different smtp server.

    SCAR Code:
    Function WaitForResponse(c : Integer): string;
    begin
      repeat
        if (ReadConnectionData(c, Result))then
        begin
          Wait(50);
        end else
        begin
          Exit;
        end;
      until((Result<>'') or (not IsConnectionOpen(c)));
    end;



    Procedure SendEmail;
    var
      c : Integer;
    begin
      c := OpenConnection('smtp.comcast.net', 25, 1000);
      WaitForResponse(c);
      SendConnectionData(c, 'HELO me' + #13#10);
      WaitForResponse(c);
      SendConnectionData(c, 'MAIL FROM: emailaddress' + #13#10);
      WaitForResponse(c);
      SendConnectionData(c, 'RCPT TO: <emailaddress>' + #13#10);
      WaitForResponse(c);
      SendConnectionData(c, 'DATA' + #13#10);
      WaitForResponse(c);
      SendConnectionData(c, 'Subject: yoursubject' + #13#10#13#10);
      SendConnectionData(c, 'This is the message it will send' + #13#10);
      SendConnectionData(c, '.' + #13#10);
      WaitForResponse(c);
    end;

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

    Default

    Trilez made a function to do exactly what you are asking for
    Search "Get SCAR to Email you"

    EDIT: Found the thread here: http://villavu.com/forum/showthread.php?t=47589

  7. #7
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ Zytex

    It says I don't have permission to view that page? srl membs prolly? dont know why they took my membs away lol...

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

    Default

    Oh lol, yes it's members only... And you indeed were a SRL Member for some time ago... Maybe some of the admins did something they shouldn't have done?

  9. #9
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I guess lol... I'm talking to Camaro atm, says he will let them know...

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

    Default

    Oh.. I have already pmed nielsie95 about it :P

  11. #11
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no biggy

    it can't hurt anything.

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

    Default

    Hehe now there is a thread about this in the member section and I pmed nielsie.. :P

  13. #13
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Amazing!

    I went from a registered member to a SRL member? :P

    Thanx guys

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
  •