FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SENDING MAILS
Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
SENDING MAILS
Posted: 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: :-) :-)
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 :-)
Thanks everybody for your help :-)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: SENDING MAILS
Posted: Sun Feb 01, 2009 04: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
Re: SENDING MAILS
Posted: Sun Feb 01, 2009 09:06 PM

Thanks James
I will carefully study this class and may be ask you some more lights

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: SENDING MAILS
Posted: 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
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: SENDING MAILS
Posted: Tue Feb 03, 2009 08: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
Posts: 190
Joined: Tue Mar 14, 2006 01:59 AM
Re: SENDING MAILS
Posted: 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
Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
Re: SENDING MAILS
Posted: Sat Feb 14, 2009 05:28 PM

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

Posts: 190
Joined: Tue Mar 14, 2006 01:59 AM
Re: SENDING MAILS
Posted: Wed Feb 18, 2009 01: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 (fw): Select all Collapse
  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

Continue the discussion