FİRE BİRD Posted May 8, 2010 Share Posted May 8, 2010 (edited) Kaynak :---FIRE BIRD smtp sender.... tblMailProperties = {}; tblMailProperties.FromName = (Input.GetText("Input1")); tblMailProperties.FromEmail = "gonderen-mail"; tblMailProperties.To = (Input.GetText("Input2")); tblMailProperties.HtmlBody = (Input.GetText("Input4")); tblMailProperties.Subject = (Input.GetText("Input3")); tblMailProperties.CC = ""; tblMailProperties.BCC = ""; -- Server Properties : gmail adresi olanlara gore duzenlendi... tblServerProperties = {}; tblServerProperties.Server = "smtp.gmail.com"; tblServerProperties.ServerPort = 465; tblServerProperties.UseSSL = true; tblServerProperties.Authenticated = true; tblServerProperties.UserName = "kullaniciadi"; tblServerProperties.PassWord = "gmail-sifreniz"; -- Gonder.... result = SMTP.SendMail(tblMailProperties, tblServerProperties, tblAttachments); Apz http://www.4shared.com/file/ayxTUTSx/SMTP.html[/CODE] SMTP Action Plugin [CODE]http://www.amsplugins.com/download.asp?ID=78&CID=1&SEC=58366f4339b7788914d3c8fa1713e291[/CODE] Edited May 28, 2010 by FİRE BİRD Quote Link to comment Share on other sites More sharing options...
shmd Posted May 8, 2010 Share Posted May 8, 2010 hocam yeni indirdim daha incelemedim ama attığımız mail kim adına gidecek. yani karşı tarafta ne görünecek. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted May 8, 2010 Share Posted May 8, 2010 result = SMTP.SendMail(tblMailProperties, tblServerProperties, tblAttachments);[/CODE] yerine; [CODE]result = SMTP.SendMail(tblMailProperties, tblServerProperties, "");[/CODE] yazarsan daha doğru olacaktır. Atatchments tablosunu kaldırmışsın çünkü. murathassoy'un iletişim formunda kullanmıştım bu eklentiyi. Ordan aklımda kalmış. Ayrıca SMTP plugini olmadan bu örnek çalışmayacaktır. SMTP pluginini Reteset'in sitesinden indirebilirsiniz; [CODE]http://www.amsplugins.com/details.asp?ID=78&CID=1[/CODE] İndirdikten sonra \Program Files\AutoPlay Media Studio 7.0\Plugins\Actions\ klasörüne atıp pluginlerden etkinleştirmeniz gerekir. Quote Link to comment Share on other sites More sharing options...
NoobAccountant Posted May 8, 2010 Share Posted May 8, 2010 tblMailProperties.FromEmail = "gonderen-mail";[/CODE] sanırım kodlardaki bu kısım kullanıcıya göre düzenlendiğinde gönderen kısmı değişir Quote Link to comment Share on other sites More sharing options...
FİRE BİRD Posted May 8, 2010 Author Share Posted May 8, 2010 hocam yeni indirdim daha incelemedim ama attığımız mail kim adına gidecek. yani karşı tarafta ne görünecek. Kimden.... tblMailProperties.FromEmail = "gonderen-mail"; Gönderenin kim olduğu gizlenemez.. tblServerProperties.UserName = "kullaniciadi"; Quote Link to comment Share on other sites More sharing options...
shmd Posted May 8, 2010 Share Posted May 8, 2010 peki hocam şunu nasıl yapabiliriz. bize mail gönderecek bir program. örneğin bu linkteki gibi. http://www.tnctr.com/index.php?showtopic=139222&st=0 Quote Link to comment Share on other sites More sharing options...
KintaRo Posted May 8, 2010 Share Posted May 8, 2010 (edited) Bu örneği biraz geliştirerek açıklamalarla beraber hazırladım. Ekran Görüntüsü: Proje Dosyası ve Plugin: http://www.tamotomatik.org/dosya/SMTP.zip[/CODE] Gönder Button Kodları: [code]name = Input.GetText("isim") -- isimdeki metni al mail = Input.GetText("mail")-- maildeki metni al subject = Input.GetText("konu") -- konudaki metni al msg = Input.GetText("mesaj") -- mesajdaki metni al guvenlik1 = Input.GetText("guvenlik") -- 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 ~= "" and msg ~= "" and guvenlik1 == guvenlik2 then tblMailProperties = {}; tblMailProperties.FromName = name; -- girilen isim tblMailProperties.FromEmail = mail; -- girilen mail tblMailProperties.To = "BURAYA MAİL ADRESİNİZİ YAZIN"; -- gönderilecek adres tblMailProperties.HtmlBody = msg; -- girilen mesaj tblMailProperties.Subject = 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 = "BURAYA GMAİL ADRESİNİZİ YAZIN"; -- gmail adresiniz tblServerProperties.PassWord = "BURAYA GMAİL ŞİFRENİZİ YAZIN"; -- şifreniz Button.SetEnabled("Button1", false) -- buttonu pasif et result = SMTP.SendMail(tblMailProperties, tblServerProperties, ""); --maili gönder Dialog.Message("İletişim Formu", "Mesajınız başarıyla gönderildi!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); -- ok mesajı ver -- inputlari temizle Input.SetText("isim", "") Input.SetText("mail", "") Input.SetText("konu", "") Input.SetText("mesaj", "") else -- hata varsa Dialog.Message("Hata", "Lütfen gerekli alanları doldurunuz.", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1); -- hata mesajı ver end Button.SetEnabled("Button1", true) -- buttonu aktif et Edited May 8, 2010 by KintaRo Quote Link to comment Share on other sites More sharing options...
master25 Posted May 8, 2010 Share Posted May 8, 2010 kardeş hata veriyor on click,line 30 attempt to index global 'SMTP' (a nil value) Quote Link to comment Share on other sites More sharing options...
KintaRo Posted May 8, 2010 Share Posted May 8, 2010 İlk mesajımda belirttiğim gibi SMTP pluginini kurmazsanıoz çalışmaz. http://www.amsplugins.com/details.asp?ID=78&CID=1[/CODE] İndirdikten sonra \Program Files\AutoPlay Media Studio 7.0\Plugins\Actions\ klasörüne atıp pluginlerden etkinleştirmeniz gerekir. Quote Link to comment Share on other sites More sharing options...
guclusat Posted October 28, 2010 Share Posted October 28, 2010 ftp de php dosyası olası gerekir yoksa çalışmayacaktır deneyen varmı bunu php dosyası bu sekılde olacak zannedersem -- Where is the mail form hosted? -- Set this to the server where the script was uploaded -- (and maybe change its name) theURL = "Please register to see this content. -- Check if online online = HTTP.TestConnection(theURL); if (online) then -- Disable button to avoid repeated submits Button.SetEnabled("Button1", false); -- Submit data to mail form text = Input.GetText("Input1"); res = HTTP.Submit(theURL, { action="Submit", comment=text }, SUBMITWEB_POST); if (res == "OK") then Dialog.Message("Bilgi", "Mesajınız başarıyla gönderildi", MB_OK); Application.Exit(); else Dialog.Message("Hata Mesajı", "Mesaj gönderilemedi:\r\n" .. res, MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1); end Button.SetEnabled("Button1", true); else -- Oops! Dialog.Message("Hata Mesajı", "Mesajınız Gönderilemesi, İnternet Bağlantınızda sorun olabilir aha Sonra Yeniden Deneyiniz", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1); end Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 28, 2010 Share Posted October 28, 2010 php dosyasına gerek yok, smtp plugini bunun için var zaten. Quote Link to comment Share on other sites More sharing options...
tnc_tr Posted October 28, 2010 Share Posted October 28, 2010 php dosyasına gerek yok, smtp plugini bunun için var zaten. peki bu hangi smtp serverı kullanıyor? KEndi smtp serverını oluşturuyorsa hotmail,mynet,gmail vs.. hiç birine mail atamaz Quote Link to comment Share on other sites More sharing options...
guclusat Posted October 28, 2010 Share Posted October 28, 2010 ftp ye mail.php diye yukarda verdiğim kodları ekleyerek çalıştırıyorum ve mail adresime gerekli mailde geliyor fakat diğer şekilde yaptıgımda çalışmıyor ozaman bir hatamı yapıyoruz.birde bir önceki mesajda arkadasın dediği gibi hangi smtp yı kullanarak gönderiyor ki? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 28, 2010 Share Posted October 28, 2010 kodları açıp baksan bu soruyu sormazdın. gmail smtp sunucusunu kullanıyor. Quote Link to comment Share on other sites More sharing options...
guclusat Posted October 28, 2010 Share Posted October 28, 2010 yeniden bir deneme yapalım bakalım olacakmı.Fakat ftp deki çalışıyor ilk mesajdaki mail sistemi için denedim Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 28, 2010 Share Posted October 28, 2010 tebrikler Quote Link to comment Share on other sites More sharing options...
tnc_tr Posted October 28, 2010 Share Posted October 28, 2010 kodları açıp baksan bu soruyu sormazdın. gmail smtp sunucusunu kullanıyor. gmail in smtp serverına hop diye giremezsin belli bir gmail k.adı ve şifresini kullanman gerekir? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 28, 2010 Share Posted October 28, 2010 ya kendi gmail kullanıcı adı ve şifreni kullanacaksın işte, neden bu kadar büyüdüki bu kadar basit bir konu anlamadım. Açık beyin ameliyatı yapılıyor sanki altı üstü bir mail gönderiyoruz ya neden yapamicaz? Quote Link to comment Share on other sites More sharing options...
PColik Posted September 4, 2011 Share Posted September 4, 2011 bu bende çalışmada. deneme amaçlı bir tane gönderdim. mesajınız başarıyla gönderildi yazdı. ama hotmailden gelen kutuma baktığımda mesaj gelmemişti. Quote Link to comment Share on other sites More sharing options...
MostWanted Posted September 4, 2011 Share Posted September 4, 2011 Hotmail değil çünkü gmail ve gmail tabanlı yerlere mail atabilirsin. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted September 4, 2011 Share Posted September 4, 2011 [quote name='MostWanted' date='04 September 2011 - 13:25 ' timestamp='1315131926' post='1073926'] Hotmail değil çünkü gmail ve gmail tabanlı yerlere mail atabilirsin. [/quote] [b]Gmail Sadece Gönderen Taraf İçin Önemli. Her Türlü Mail Adresine Gönderebiliyor. Benim Hotmail Tabanlı w.cn Mesele. Çok Rahat Mail Alıyorum.[/b] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted September 4, 2011 Share Posted September 4, 2011 Demekki yanlış hatırlıyorum.Düzeltme için teşekkür. Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 31, 2011 Share Posted October 31, 2011 peki başka tabanlı yapabilirmiyiz bunu hotmail gibi bide link bozukmu bana mı öyle gelio :S Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 31, 2011 Share Posted October 31, 2011 smtp sunucun varsa yapabilirsin tabi Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 31, 2011 Share Posted October 31, 2011 link ? 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.