SENDING MAILS

Post Reply
User avatar
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

SENDING MAILS

Post by patili »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: SENDING MAILS

Post by James Bott »

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
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: SENDING MAILS

Post by patili »

Thanks James
I will carefully study this class and may be ask you some more lights
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: SENDING MAILS

Post by Antonio Linares »

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
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: SENDING MAILS

Post by anserkk »

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
Davide
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: SENDING MAILS

Post by Davide »

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
User avatar
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: SENDING MAILS

Post by patili »

Hi Davide, can you explain me how i can use it
Thanks
Davide
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: SENDING MAILS

Post by Davide »

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

  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
Post Reply