Thread: Login Emails

Results 1 to 10 of 10
  1. #1 Login Emails 
    Registered Member Harambe_'s Avatar
    Join Date
    Jul 2007
    Posts
    504
    Thanks given
    15
    Thanks received
    22
    Rep Power
    13
    Not sure if this is worthy of a showoff but i've never seen it done before. This is just basic functionality, only worked on this for 30 minutes.

    What is it? Used Java's email API's to send emails using Gmail's SMTs.

    Shown below: Logging in and getting an email notifying of a login with IP address.

    Attached image

    Video, takes 3-5 seconds to get the email after login

    https://i.gyazo.com/9e3a0dbdb0fa42b5...257375ae7e.mp4
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    What is this useful for?

    edit: I don't mean to be mean. just curious.



    click banner to join gtracer!
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Registered Member Harambe_'s Avatar
    Join Date
    Jul 2007
    Posts
    504
    Thanks given
    15
    Thanks received
    22
    Rep Power
    13
    Can be used if another IP logs into an account, it can trigger an alert email to the owner of an account.

    Can send emails to certain people from in game data, there’s a plethora of options.
    Reply With Quote  
     

  6. #4  
    Registered Wizard

    Jesse's Avatar
    Join Date
    Sep 2009
    Age
    29
    Posts
    5,119
    Thanks given
    1,519
    Thanks received
    1,148
    Rep Power
    5000
    Quote Originally Posted by minutes View Post
    What is this useful for?

    edit: I don't mean to be mean. just curious.
    I mean the example in the picture shows

    if someone else was to login to your account it would email you and warn you that someone logged in? use the noodle



    Reply With Quote  
     

  7. #5  
    Skotos Founder


    Join Date
    Jan 2017
    Age
    24
    Posts
    954
    Thanks given
    178
    Thanks received
    191
    Rep Power
    199
    Quote Originally Posted by Jesse View Post
    I mean the example in the picture shows

    if someone else was to login to your account it would email you and warn you that someone logged in? use the noodle
    Oh i thought this sends to the actual owner for a new ip, was thinking why not just make logs ;D
    Attached image
    Reply With Quote  
     

  8. #6  
    Login Emails



    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    16,307
    Thanks given
    7,215
    Thanks received
    12,308
    Rep Power
    5000

    Attached image
    Reply With Quote  
     

  9. Thankful user:


  10. #7  
    Registered Member
    Andys1814's Avatar
    Join Date
    Feb 2013
    Posts
    974
    Thanks given
    688
    Thanks received
    455
    Rep Power
    727
    Wow, this is revolutionary
    Reply With Quote  
     

  11. Thankful user:


  12. #8  
    Registered Member Harambe_'s Avatar
    Join Date
    Jul 2007
    Posts
    504
    Thanks given
    15
    Thanks received
    22
    Rep Power
    13
    Quote Originally Posted by Mantvis View Post
    Oh i thought this sends to the actual owner for a new ip, was thinking why not just make logs ;D
    Yes this exactly.
    Reply With Quote  
     

  13. #9  
    Registered Member Frugoo's Avatar
    Join Date
    May 2014
    Posts
    23
    Thanks given
    0
    Thanks received
    3
    Rep Power
    11
    I'm writing an authentication system as we speak. Care to share this? I can make it to it sends a random code to the player's email that way.
    Attached image
    Reply With Quote  
     

  14. #10  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    It is basic functionality, but yet it can be very powerful. Personally I would just log the logins, and display them on the user control panel or something like that. I would email the user if the password changed though, or even have email confirmation for password changes.

    Quote Originally Posted by Frugoo View Post
    I'm writing an authentication system as we speak. Care to share this? I can make it to it sends a random code to the player's email that way.
    Why don't you use 2FA services that already exist? Like Authy for example.

    I guess if the user had the choice between email code or code from Authy when they setup 2FA, it would be better.

    Perhaps my thread can give you inspiration: https://www.rune-server.ee/runescape...n-angular.html

    Also if you read the posts, Scu11 shared a link that shows you how to send emails.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 4
    Last Post: 10-13-2017, 08:15 PM
  2. Replies: 4
    Last Post: 09-30-2017, 09:54 PM
  3. Replies: 0
    Last Post: 03-18-2012, 12:20 AM
  4. I need help create some sort of "login" system that sends to my email
    By pookani222 in forum Application Development
    Replies: 1
    Last Post: 10-10-2008, 01:08 AM
  5. [TuT]Stopping multi logins through user ips
    By Wolf in forum Tutorials
    Replies: 21
    Last Post: 09-06-2007, 03:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •