SENDING MAILS

SENDING MAILS

Postby patili » Sun Feb 01, 2009 12:07 pm

Hi everybody
In my veterinary clinic, i use a local lan with 5 PC's for the gestion of my clinic (patients, comptability etc etc....) wich is not connected to Internet for security reason. On it my Fivewin-Harbour prog. is running.
I have an other PC for all my Internet business. (Firefox and Thunderbird)
Question too hard for me: :?: :shock:
I need to export a list of email adresses from my Harbour prog on an USB key and use it on the other PC to send mailing (with Thunderbird or Harbour?)
I know naturally how to export my email adresses on a file on an USB key, but i don't have any idea to use it on Internet for sending my mails.
Do i import it on Thunderbird (and how?) or would it be better to developp an prog with Fivewin- Harbour (I see a Fivewin Tmail class) on the second Pc for this use?
Sorry my english isn't very good and i hope you will understand my question :oops:
Thanks everybody for your help :wink:
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: SENDING MAILS

Postby James Bott » Sun Feb 01, 2009 4:23 pm

Patili,

Thunderbird is not MAPI compliant so you cannot use FW's TMail class. You will need to send the mails directly to your SMTP server and you will need a copy of the TSMTP class for this. FW does have a copy of this class, but there are been a number of third-party improvements. Send me an email and I will send you a copy of the improved class.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: SENDING MAILS

Postby patili » Sun Feb 01, 2009 9:06 pm

Thanks James
I will carefully study this class and may be ask you some more lights
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: SENDING MAILS

Postby Antonio Linares » Sun Feb 01, 2009 10:20 pm

James,

> there are been a number of third-party improvements.

Would you mind to post here the entire Class source code with all the changes ?

many thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: SENDING MAILS

Postby anserkk » Tue Feb 03, 2009 8:03 am

Antonio Linares wrote:James,

> there are been a number of third-party improvements.

Would you mind to post here the entire Class source code with all the changes ?

many thanks :-)


Dear Mr.James,

I am also interested in the modified version of this class.

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: SENDING MAILS

Postby Davide » Fri Feb 13, 2009 12:15 pm

James,

James Bott wrote:Thunderbird is not MAPI compliant so you cannot use FW's TMail class.


yes, it is. I use it myself.

Regards,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: SENDING MAILS

Postby patili » Sat Feb 14, 2009 5:28 pm

Hi Davide, can you explain me how i can use it
Thanks
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: SENDING MAILS

Postby Davide » Wed Feb 18, 2009 1:27 am

patili wrote:Hi Davide, can you explain me how i can use it
Thanks

I use it with the standard FWH TMail class:
Code: Select all  Expand view
 oMailItem:=tMail():New( cSubject,cBody,,,,, .f., lShow,,aTo,aFiles)

  ACTIVATE MAIL oMailItem
  If (oMailItem:nRetCode > 1) // 1 = Cancelled by the user
    MsgAlert( "MAPI E-Mail error "+ltrim(str(oMailItem:nRetCode)) )
  Endif

Regards,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests