Giter Site home page Giter Site logo

smtp-mail-sender's Introduction

smtp-mail-sender

SMTP ile Mail gönderim işlemi için Google'nin smtp.gmail.com adlı serverine bağlanıyoruz ve bazı protokol işlemlerimizi gerçekleştiriyoruz. Smtp için en bilinden iki adet port mevcut bunlar 587 ve 465 'dir. Ben 465. Portu kullandım çünkü bu port SSL ile korunuyor. Programın çalışması için <YOUR-ENCODED-EMAIL-WITH-Base64> ve <YOUR-ENCODED-PASSWORD-WITH-Base64> satırlarını kendinize göre değiştirmelisiniz unutmayınız <> tagları olmamamlıdır. Ayrıca MAIL FROM: <YOUR EMAIL> buraya <> işaretleri olmak üzere kendi gönderen mailinizi yazınız. Dikkat: Kendi Mail şifrenizi kullanmayacaksınız.Bunun için ;

  • https://myaccount.google.com/ adresine gidin
  • Sol menüde "Güvenlik" butonuna tıklayın
  • "Google'da oturum açma" bölümünde "2 Adımlı Doğrulama" seçeneğine tıklayın.
  • Burada tekrar mail adresi ve parola istenebilir.
  • Altta "Uygulama şifreleri" bölümüne gelip tıklayın.
  • Uygulamanıza bir isim verin "Sending mails over sockets using SMTP"
  • "Oluştur" butonua tıklayın.
  • Ekrana gelen şifreyi, Java uygulamalarınız içerisinde kullanabilirsiniz. (base64 ile encode ettikten sonra)

smtp-mail-sender's People

Contributors

ibrahimeth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.