Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on StumbleUponShare this topic on TwitterShare this topic on GoogleShare this topic on Yahoo

Author Topic: membuat dan menerima email dg vfp  (Read 902 times)

0 Members and 1 Guest are viewing this topic.

Offline superfox

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
membuat dan menerima email dg vfp
« on: June 09, 2009, 09:47:12 PM »
bro....

sy mau tanya apakah kita bisa membuat aplikasi send email dan menerima email dengan file atach didalamnya, menggunakan vfp dengan teknologi smtp dan pop3?


kalo ada yang bisa kasih samplenya donk....

tengkyu....  :thumbsup:  :icon_salut:  :icon_salut:

Offline davidmustakim

  • Fox-id M.V.P
  • *
  • Thank You
  • -Given: 0
  • -Receive: 8
  • Posts: 4301
Re: membuat dan menerima email dg vfp
« Reply #1 on: June 09, 2009, 10:01:05 PM »
sudah sering dibahas, coba anda search dulu

Offline rnd

  • Senior Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 488
Re: membuat dan menerima email dg vfp
« Reply #2 on: June 09, 2009, 10:09:44 PM »
ini mungkin linknya
http://fox-id.org/smf/index.php/topic,7133.15.html
http://fox-id.org/smf/index.php/topic,5596.0.html

ini juga ada 1 saya copy paste dari salah satu web

 sending email dg menggunakan outlook express atau microsoft outlook akan dihadang dengan security.

sending email dg menggunakan outlook express atau microsoft outlook akan dihadang dengan security yang mana kita harus mengklik tombol yes or no atau send or not send. kita bisa mengirim email tanpa ada peringatan dengan menggunakan software jmail (freeware lho...).
pertama : download software jmail di :
http://www.dimac.net/FreeDownloads/dlstart.asp?ProductID=5 setelah itu jalan file download tsb.

kedua : masukkan code dibawah ini pada command send di form anda.
****start copy*****
PUBLIC oSMTPMail
oSMTPMail = NEWOBJECT("jmail.SMTPMail")
***If you aren't sure leave this commented out
***let the object figure it out for you if possible
***oSMTPMail .ServerAddress = "mail.mchsi.com"
oSMTPMail .ServerAddress = "mail.softhome.net" && isi mail server anda
oSMTPMail.AddRecipient ("willy-w@hotpop.com")
oSMTPMail.Sender = "w1lys@softhome.net"
oSMTPMail.SenderName = "Willy W"
oSMTPMail.Subject = "Percobaan email"
oSMTPMail.Body = "ini isi body email"
oSMTPMail.AddAttachMent ("C:\AutoExec.bat")
oSMTPMail.Execute()
RELEASE oSMTPMail
****akhir copy****

selamat menggunakan....

nb : kode diatas saya ambil dari www.foxite.com

Offline superfox

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
Re: membuat dan menerima email dg vfp
« Reply #3 on: June 10, 2009, 10:08:38 AM »
bro udah sy coba tp ada message eror nya sbb:
"Ole IDispacth execeptioncode 0 from jmail.SMTPMail: The message was undeliverable. All servers failed to receive the message"

itu kenapa ya?

mohon pencerahannya...  :icon_salut:  :icon_salut:  :icon_salut:

tks

Offline rnd

  • Senior Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 488
Re: membuat dan menerima email dg vfp
« Reply #4 on: June 10, 2009, 10:15:21 AM »
Sudah download dan install jmail, saya juga udah lama ngak utak atik ini, tapi masih jalan di client saya

Offline superfox

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
Re: membuat dan menerima email dg vfp
« Reply #5 on: June 10, 2009, 10:50:02 AM »
jmail udah sy instal.. tp tetep aj blm bisa

erornya saat "oSMTPMail.Execute()"

Offline davidmustakim

  • Fox-id M.V.P
  • *
  • Thank You
  • -Given: 0
  • -Receive: 8
  • Posts: 4301
Re: membuat dan menerima email dg vfp
« Reply #6 on: June 10, 2009, 07:30:28 PM »
errornya mungkin disitu, tapi penyebabnya bisa macam2, nah coba SMS Deddy Cobuzier atau upload koding selengkapnya

Offline rnd

  • Senior Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 488
Re: membuat dan menerima email dg vfp
« Reply #7 on: June 10, 2009, 07:37:13 PM »
masalah di smtpnya pa, kalo saya coba pake smtp saya jalan si

Offline foxever_fox

  • Hero Member
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 1013
Re: membuat dan menerima email dg vfp
« Reply #8 on: June 10, 2009, 10:35:29 PM »
Koneksinya pake apa?
Kalo pake Esia  memang ( umumnya  )  diblok oleh SMTP server

Offline rnd

  • Senior Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 488
Re: membuat dan menerima email dg vfp
« Reply #9 on: June 10, 2009, 10:44:07 PM »
saya juga kurang tau, disaya sih ok ok aja, ngak tau dengan pa Superfox kalo koneksinya pake apa

Offline GoodOne

  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 82
Re: membuat dan menerima email dg vfp
« Reply #10 on: February 07, 2010, 05:23:55 PM »
bung rnd saya juga mengalami hal yang sama dengan yang dialami superfox. Saya sudah install jmail, lalu saya coba bikin form baru yang isinya cuma command button. Isi event click saya isi:

PUBLIC oSMTPMail
oSMTPMail = NEWOBJECT("jmail.SMTPMail")
oSMTPMail .ServerAddress = "smtp.mail.yahoo.co.id"
oSMTPMail.AddRecipient ("tester@hotmail.com")
oSMTPMail.Sender = "tester@yahoo.co.id"
oSMTPMail.SenderName = "Tester"
oSMTPMail.Subject = "Percobaan email"
oSMTPMail.Body = "ini isi body email"
oSMTPMail.AddAttachMent ("D:\Readme.txt")
oSMTPMail.Execute()
RELEASE oSMTPMail

ukuran file readme.txt = 5Kb. Sepintas yang saya perhatikan adalah untuk password belum ada commandnya.

mohon petunjuknya, thanks

Offline GoodOne

  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 82
Re: membuat dan menerima email dg vfp
« Reply #11 on: February 09, 2010, 04:14:30 PM »
mengirim dan menerima email sudah solved, dapet caranya dari bereznikers....  :icon_thumleft: