Page 1 of 1

SENDING MAILS

Posted: Sun Feb 01, 2009 12:07 pm
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:

Re: SENDING MAILS

Posted: Sun Feb 01, 2009 4:23 pm
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

Re: SENDING MAILS

Posted: Sun Feb 01, 2009 9:06 pm
by patili
Thanks James
I will carefully study this class and may be ask you some more lights

Re: SENDING MAILS

Posted: Sun Feb 01, 2009 10:20 pm
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 :-)

Re: SENDING MAILS

Posted: Tue Feb 03, 2009 8:03 am
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

Re: SENDING MAILS

Posted: Fri Feb 13, 2009 12:15 pm
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

Re: SENDING MAILS

Posted: Sat Feb 14, 2009 5:28 pm
by patili
Hi Davide, can you explain me how i can use it
Thanks

Re: SENDING MAILS

Posted: Wed Feb 18, 2009 1:27 am
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