kaan_karabey Posted August 16, 2014 Share Posted August 16, 2014 (edited) Arkadaşlar Ben Şöyle Bir Proje Yapıyorum Ama Bir Yerde Takıldım...Yardım Edebilirmisiniz??? [spoiler][/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 August 16, 2014 by kaan_karabey Quote Link to comment Share on other sites More sharing options...
egemynet Posted August 17, 2014 Share Posted August 17, 2014 tblMailProperties.HtmlBody = msg; -- girilen mesaj tblMailProperties.Subject = " Samuray Kaplama Stok " .. subject ; -- girilen konu bu kısmı düzenlemen yeterli olacaktır. Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 18, 2014 Author Share Posted August 18, 2014 tblMailProperties.HtmlBody = msg; -- girilen mesaj tblMailProperties.Subject = " Samuray Kaplama Stok " .. subject ; -- girilen konu bu kısmı düzenlemen yeterli olacaktır. nasıl düzenliyecem yardımcı olurmusun ? Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 21, 2014 Author Share Posted August 21, 2014 (edited) Arkadaşlar Yardımcı Olabilecek Kimse Yok mu? Edited August 23, 2014 by kaan_karabey Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 23, 2014 Author Share Posted August 23, 2014 Arkadaşlar Lütfen Bana Bu Konuda Yardımcı Olun... Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 25, 2014 Editor Share Posted August 25, 2014 Subject yazdıgınız kısma sırayla ekleme yapacaksınız subject .. "\r Team ID :" .. teammid gibi Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 25, 2014 Author Share Posted August 25, 2014 Subject yazdıgınız kısma sırayla ekleme yapacaksınız subject .. "\r Team ID :" .. teammid gibi Verdiğiniz kod işe yaradı ama hepsini yan yana sıralıyor bunu alt alta sıralamak için ne yapmam gerekiyor... Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 25, 2014 Editor Share Posted August 25, 2014 \r yerine \n koyun newline demektir Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 25, 2014 Author Share Posted August 25, 2014 (edited) 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 August 25, 2014 by kaan_karabey Quote Link to comment Share on other sites More sharing options...
KintaRo Posted August 26, 2014 Share Posted August 26, 2014 o işi autoit daha iyi yapar, bence oradan destek alın. Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted August 26, 2014 Author Share Posted August 26, 2014 Yalnız bu maille gelmesini nasıl yapacam Sent from my iPhone using Tapatalk Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 26, 2014 Editor Share Posted August 26, 2014 Maille gönderebilmen için yapman gerekeni söyledikya başka hata yok kodlarında. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.