Jump to content
Son zamanlarda artan kullanıcı hesap hırsızlıkları sebebiyle tüm kullanıcılara şifre sıfırlama maili gönderilmiştir. Lütfen güveli şifreler seçiniz. Mevcut e-mail adresinize erişemiyorsanız, en aşağıdaki destek linkinden bize ulaşınız. ×

Mail Gönderme


kaan_karabey
 Share

Recommended Posts

Arkadaşlar Ben Şöyle Bir Proje Yapıyorum Ama Bir Yerde Takıldım...Yardım Edebilirmisiniz???

 

[spoiler]pre_1408209675__adszzzzzmmm.png[/spoiler]

 

Burdaki Güvenlik Kodu Haricindeki  Her Yerleri Nasıl Göndertebiliriz.

 

 

Elimde Şöyle Bir Kod Var...

 

Aktif Pluginler

WinApi
SMTP

 

 

Kodlar:

 

 

On Show;

sayi = Math.Random(1000, 6412)
Paragraph.SetText("Paragraph1", sayi)
--sayfayı Şeffaf Yap
WinApi.EnableWindow(Application.GetWndHandle(), true);

Gönder Butonu:

name = Input.GetText("Input2") -- isimdeki metni al
mail = Input.GetText("Input3")-- maildeki metni al
subject = ComboBox.GetText("ComboBox1") -- konudaki metni al
msg = Input.GetText("Input5");


guvenlik1 = Input.GetText("Input4") -- girilen guvenlik kodunu al
guvenlik2 = Paragraph.GetText("Paragraph1") -- gorunen guvenlik kodunu al

-- eğer isim veya mail veya konu veya mesaj boş değilse ve güvenlik1 guvenlik2 ye eşitse
if name ~= "" and mail ~= "" and subject ~= "Seçiniz" and msg ~= "" and guvenlik1 == guvenlik2 then

tblMailProperties = {}; 
tblMailProperties.FromName = name; -- girilen isim
tblMailProperties.FromEmail = mail; -- girilen mail
tblMailProperties.To = "Gönderilecek Adresinizi Giriniz"; -- gönderilecek adres
tblMailProperties.HtmlBody = msg; -- girilen mesaj
tblMailProperties.Subject = "  Samuray Kaplama Stok  "  ..  subject  ; -- girilen konu
tblMailProperties.CC = ""; -- bilgi
tblMailProperties.BCC = ""; -- gizli

tblServerProperties = {}; 
tblServerProperties.Server = "smtp.gmail.com"; -- smtp adresi
tblServerProperties.ServerPort = 465; -- smtp portu
tblServerProperties.UseSSL = true;  -- SSL kullan

tblServerProperties.Authenticated = true;   -- Doğrulama
tblServerProperties.UserName = "Gmail Adresinizi Giriniz";  -- gmail adresiniz
tblServerProperties.PassWord = "Gmail Şifrenizi Giriniz";               -- şifreniz

Button.SetEnabled("xButton1", false) -- buttonu pasif et
result = SMTP.SendMail(tblMailProperties, tblServerProperties, ""); --maili gönder

Dialog.Message("Kaan Karabey ~ Nomercy", "Mesajınız Gönderilmiştir.En Kısa Sürede İsteğiniz Yerine Getirilecektir.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); -- ok mesajı ver
-- inputlari temizle
Input.SetText("Input2", "") 
Input.SetText("Input3", "")
ComboBox.SetSelected("ComboBox1", 1);
Input.SetText("Input4", "")
Paragraph.SetText("Paragraph1", "");
Input.SetText("Input5", "")
else -- hata varsa
Dialog.Message("Hata", "Lütfen gerekli alanları doldurunuz.", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1); -- hata mesajı ver
end
Button.SetEnabled("xButton1", true) -- buttonu aktif et

Diye Bir Kod var Bunu Uyguladığımda Bana Gelen Mailde Sadece Konu ve Msj Bölümü Geliyor Hepsinin Gelmesi İçin Nasıl Birşey Eklemeliyim...

name = Input.GetText("Input1") -- isimdeki metni al
mail = Input.GetText("Input2")-- maildeki metni al
tlf = Input.GetText("Input3")--tlfdeki metni al
subject = ComboBox.GetText("ComboBox1") -- konudaki metni al
id = Input.GetText("Input4")--Teamviewer ıd metni al
sifre = Input.GetText("Input5")--Teamviewer Sifre metni al
msg = Input.GetText("Input7") -- msg metni al
guvenlik1 = Input.GetText("Input6") -- girilen guvenlik kodunu al
guvenlik2 = Paragraph.GetText("Paragraph1") -- gorunen guvenlik kodunu al
-- eğer isim veya mail veya konu veya mesaj boş değilse ve güvenlik1 guvenlik2 ye eşitse
if name ~= "" and mail ~= "" and subject ~= "Seçiniz" and msg ~= "" and guvenlik1 == guvenlik2 then

Yukardaki Koddan Sonra Nasıl Değişiklik Yapmalıyım.Lütfen Yardım Edin....

Edited by kaan_karabey
Link to comment
Share on other sites

Bende bir teamviewer programı var bu açıldıgında otomatik teamviewer ıd ve şifrenin eklenmesini istiyorum nasıl yapabilirim Yani Program Açıldıgında Teamviewer Id inputuna Teamviewer Id Teamviewer Şifre İnputuna Teamviewer Şifre Yazmasını İstiyorum Nasıl Yapabilirim

 

Teamviewer programı

https://yadi.sk/d/vxGK62swaR7ES 
Edited by kaan_karabey
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...