Alaska Software Inc. - New SMTP Class
Username: Password:
AuthorTopic: New SMTP Class
Edgar Borger New SMTP Class
on Fri, 27 May 2011 13:24:07 -0300
Hello Xbase community,

We are happy to announce a new Xbase++ class that will send email 
messages via any SMTP server, including gmail, using Windows Winsock 
functions, no external Dll's required.

The new XbpSMTP class is very simple to use,

*******************************************************************************

PROCEDURE MAIN

oSmtp := xbpSMTP():New()                       Creates the SMTP object

oSmtp:Create( cHost, cUser, cPass )            Tell the class then 
SMTP server, username and password.

oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message

oSmtp:Destroy()                                End the process

Return

*******************************************************************************

a Demo version can be downloaded from our site :

http://www.borger.com.br/softsupply

if you have any questions, please feel free to write us at any time.

Best regards,
Edgar

Edgar Borger
Softsupply Informatica Ltda.
Rua Alagoas, 48
Sao Paulo, SP
01242-000
Tel : (5511) 3159-1997
Fax : (5511) 3255-5224
Chris AndriesRe: New SMTP Class
on Sat, 28 May 2011 10:12:25 +0200
Hi,

I have two questions:

1. Can there be more than one attachment?
2. Any way to send mail as html?

Best regards,
Chris Andries


"Edgar Borger" <eborger@terra.com.br> wrote in message
news:50b65e58$673abf72$1c757@news.alaska-software.com...
> Hello Xbase community,
>
> We are happy to announce a new Xbase++ class that will send email
> messages via any SMTP server, including gmail, using Windows Winsock
> functions, no external Dll's required.
>
> The new XbpSMTP class is very simple to use,
>
>
****************************************************************************
***
>
> PROCEDURE MAIN
>
> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>
> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
> SMTP server, username and password.
>
> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>
> oSmtp:Destroy()                                End the process
>
> Return
>
>
****************************************************************************
***
>
> a Demo version can be downloaded from our site :
>
> http://www.borger.com.br/softsupply
>
> if you have any questions, please feel free to write us at any time.
>
> Best regards,
> Edgar
>
> -- 
> Edgar Borger
> Softsupply Informatica Ltda.
> Rua Alagoas, 48
> Sao Paulo, SP
> 01242-000
> Tel : (5511) 3159-1997
> Fax : (5511) 3255-5224
Edgar Borger Re: New SMTP Class
on Wed, 01 Jun 2011 20:04:52 -0300
Hi Chris,

sorry for the delay, i had no connection for the past few days.

1) Yes, I have not tested it, but I supose it can be done.
2) Yes, you have to provide the HTML msg.

this is still a beta version, so maybe some minor adjustments need to be 
done, but in theory, yes, it can be done.

Regards,
Edgar

Em 28/05/2011 05:12, Chris Andries escreveu:
> Hi,
>
> I have two questions:
>
> 1. Can there be more than one attachment?
> 2. Any way to send mail as html?
>
> Best regards,
> Chris Andries
>
>
> "Edgar Borger"<eborger@terra.com.br>  wrote in message
> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>> Hello Xbase community,
>>
>> We are happy to announce a new Xbase++ class that will send email
>> messages via any SMTP server, including gmail, using Windows Winsock
>> functions, no external Dll's required.
>>
>> The new XbpSMTP class is very simple to use,
>>
>>
> ****************************************************************************
> ***
>>
>> PROCEDURE MAIN
>>
>> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>>
>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>> SMTP server, username and password.
>>
>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>
>> oSmtp:Destroy()                                End the process
>>
>> Return
>>
>>
> ****************************************************************************
> ***
>>
>> a Demo version can be downloaded from our site :
>>
>> http://www.borger.com.br/softsupply
>>
>> if you have any questions, please feel free to write us at any time.
>>
>> Best regards,
>> Edgar
>>
>> --
>> Edgar Borger
>> Softsupply Informatica Ltda.
>> Rua Alagoas, 48
>> Sao Paulo, SP
>> 01242-000
>> Tel : (5511) 3159-1997
>> Fax : (5511) 3255-5224
>
>


Edgar Borger
Softsupply Informatica Ltda.
Rua Alagoas, 48
Sao Paulo, SP
01242-000
Tel : (5511) 3159-1997
Fax : (5511) 3255-5224
Chris AndriesRe: New SMTP Class
on Thu, 09 Jun 2011 10:30:00 +0200
Hi,

What do you mean with the HTML message? If your message is html code, the
mail is automatically send as HTML? That seems rather odd to me.

Best regards,
Chris.


"Edgar Borger" <eborger@terra.com.br> wrote in message
news:680d5005$69c4ba16$19b89@news.alaska-software.com...
> Hi Chris,
>
> sorry for the delay, i had no connection for the past few days.
>
> 1) Yes, I have not tested it, but I supose it can be done.
> 2) Yes, you have to provide the HTML msg.
>
> this is still a beta version, so maybe some minor adjustments need to be
> done, but in theory, yes, it can be done.
>
> Regards,
> Edgar
>
> Em 28/05/2011 05:12, Chris Andries escreveu:
> > Hi,
> >
> > I have two questions:
> >
> > 1. Can there be more than one attachment?
> > 2. Any way to send mail as html?
> >
> > Best regards,
> > Chris Andries
> >
> >
> > "Edgar Borger"<eborger@terra.com.br>  wrote in message
> > news:50b65e58$673abf72$1c757@news.alaska-software.com...
> >> Hello Xbase community,
> >>
> >> We are happy to announce a new Xbase++ class that will send email
> >> messages via any SMTP server, including gmail, using Windows Winsock
> >> functions, no external Dll's required.
> >>
> >> The new XbpSMTP class is very simple to use,
> >>
> >>
> >
****************************************************************************
> > ***
> >>
> >> PROCEDURE MAIN
> >>
> >> oSmtp := xbpSMTP():New()                       Creates the SMTP
object
> >>
> >> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
> >> SMTP server, username and password.
> >>
> >> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
> >>
> >> oSmtp:Destroy()                                End the process
> >>
> >> Return
> >>
> >>
> >
****************************************************************************
> > ***
> >>
> >> a Demo version can be downloaded from our site :
> >>
> >> http://www.borger.com.br/softsupply
> >>
> >> if you have any questions, please feel free to write us at any time.
> >>
> >> Best regards,
> >> Edgar
> >>
> >> --
> >> Edgar Borger
> >> Softsupply Informatica Ltda.
> >> Rua Alagoas, 48
> >> Sao Paulo, SP
> >> 01242-000
> >> Tel : (5511) 3159-1997
> >> Fax : (5511) 3255-5224
> >
> >
>
>
> -- 
> Edgar Borger
> Softsupply Informatica Ltda.
> Rua Alagoas, 48
> Sao Paulo, SP
> 01242-000
> Tel : (5511) 3159-1997
> Fax : (5511) 3255-5224
Edgar Borger Re: New SMTP Class
on Thu, 09 Jun 2011 18:03:31 -0300
Hello Chris,

The class will be delivered with source code, totally in Xbase, so you 
can customize the way you want it, so you can change the body of the msg 
from "Content-Type: text/plain" to "Content-Type: text/html"

Regards,
Edgar

Em 09/06/2011 05:30, Chris Andries escreveu:
> Hi,
>
> What do you mean with the HTML message? If your message is html code, the
> mail is automatically send as HTML? That seems rather odd to me.
>
> Best regards,
> Chris.
>
>
> "Edgar Borger"<eborger@terra.com.br>  wrote in message
> news:680d5005$69c4ba16$19b89@news.alaska-software.com...
>> Hi Chris,
>>
>> sorry for the delay, i had no connection for the past few days.
>>
>> 1) Yes, I have not tested it, but I supose it can be done.
>> 2) Yes, you have to provide the HTML msg.
>>
>> this is still a beta version, so maybe some minor adjustments need to be
>> done, but in theory, yes, it can be done.
>>
>> Regards,
>> Edgar
>>
>> Em 28/05/2011 05:12, Chris Andries escreveu:
>>> Hi,
>>>
>>> I have two questions:
>>>
>>> 1. Can there be more than one attachment?
>>> 2. Any way to send mail as html?
>>>
>>> Best regards,
>>> Chris Andries
>>>
>>>
>>> "Edgar Borger"<eborger@terra.com.br>   wrote in message
>>> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>>>> Hello Xbase community,
>>>>
>>>> We are happy to announce a new Xbase++ class that will send email
>>>> messages via any SMTP server, including gmail, using Windows Winsock
>>>> functions, no external Dll's required.
>>>>
>>>> The new XbpSMTP class is very simple to use,
>>>>
>>>>
>>>
> ****************************************************************************
>>> ***
>>>>
>>>> PROCEDURE MAIN
>>>>
>>>> oSmtp := xbpSMTP():New()                       Creates the SMTP
> object
>>>>
>>>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>>>> SMTP server, username and password.
>>>>
>>>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>>>
>>>> oSmtp:Destroy()                                End the process
>>>>
>>>> Return
>>>>
>>>>
>>>
> ****************************************************************************
>>> ***
>>>>
>>>> a Demo version can be downloaded from our site :
>>>>
>>>> http://www.borger.com.br/softsupply
>>>>
>>>> if you have any questions, please feel free to write us at any time.
>>>>
>>>> Best regards,
>>>> Edgar
>>>>
>>>> --
>>>> Edgar Borger
>>>> Softsupply Informatica Ltda.
>>>> Rua Alagoas, 48
>>>> Sao Paulo, SP
>>>> 01242-000
>>>> Tel : (5511) 3159-1997
>>>> Fax : (5511) 3255-5224
>>>
>>>
>>
>>
>> --
>> Edgar Borger
>> Softsupply Informatica Ltda.
>> Rua Alagoas, 48
>> Sao Paulo, SP
>> 01242-000
>> Tel : (5511) 3159-1997
>> Fax : (5511) 3255-5224
>
>


Edgar Borger
Softsupply Informatica Ltda.
Rua Alagoas, 48
Sao Paulo, SP
01242-000
Tel : (5511) 3159-1997
Fax : (5511) 3255-5224
Edgar Borger Re: New SMTP Class
on Tue, 07 Jun 2011 10:05:55 -0300
Hello Chris,

just tested it with more than one attachment, and yes, it works.
also working with hotmail and gmail accounts.

Regards,
Edgar


Em 28/05/2011 05:12, Chris Andries escreveu:
> Hi,
>
> I have two questions:
>
> 1. Can there be more than one attachment?
> 2. Any way to send mail as html?
>
> Best regards,
> Chris Andries
>
>
> "Edgar Borger"<eborger@terra.com.br>  wrote in message
> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>> Hello Xbase community,
>>
>> We are happy to announce a new Xbase++ class that will send email
>> messages via any SMTP server, including gmail, using Windows Winsock
>> functions, no external Dll's required.
>>
>> The new XbpSMTP class is very simple to use,
>>
>>
> ****************************************************************************
> ***
>>
>> PROCEDURE MAIN
>>
>> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>>
>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>> SMTP server, username and password.
>>
>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>
>> oSmtp:Destroy()                                End the process
>>
>> Return
>>
>>
> ****************************************************************************
> ***
>>
>> a Demo version can be downloaded from our site :
>>
>> http://www.borger.com.br/softsupply
>>
>> if you have any questions, please feel free to write us at any time.
>>
>> Best regards,
>> Edgar
>>
>> --
>> Edgar Borger
>> Softsupply Informatica Ltda.
>> Rua Alagoas, 48
>> Sao Paulo, SP
>> 01242-000
>> Tel : (5511) 3159-1997
>> Fax : (5511) 3255-5224
>
>
Don Keating Re: New SMTP Class
on Wed, 08 Jun 2011 06:01:50 -0400
Edgar,

Does it work with Yahoo free account?

   >don<

On Tue, 07 Jun 2011 10:05:55 -0300, Edgar Borger wrote:

> Hello Chris,
> 
> just tested it with more than one attachment, and yes, it works.
> also working with hotmail and gmail accounts.
> 
> Regards,
> Edgar
> 
> 
> Em 28/05/2011 05:12, Chris Andries escreveu:
> > Hi,
> >
> > I have two questions:
> >
> > 1. Can there be more than one attachment?
> > 2. Any way to send mail as html?
> >
> > Best regards,
> > Chris Andries
> >
> >
> > "Edgar Borger"<eborger@terra.com.br>  wrote in message
> > news:50b65e58$673abf72$1c757@news.alaska-software.com...
> >> Hello Xbase community,
> >>
> >> We are happy to announce a new Xbase++ class that will send email
> >> messages via any SMTP server, including gmail, using Windows Winsock
> >> functions, no external Dll's required.
> >>
> >> The new XbpSMTP class is very simple to use,
> >>
> >>
> >
****************************************************************************
> > ***
> >>
> >> PROCEDURE MAIN
> >>
> >> oSmtp := xbpSMTP():New()                       Creates the SMTP
object
> >>
> >> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
> >> SMTP server, username and password.
> >>
> >> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
> >>
> >> oSmtp:Destroy()                                End the process
> >>
> >> Return
> >>
> >>
> >
****************************************************************************
> > ***
> >>
> >> a Demo version can be downloaded from our site :
> >>
> >> http://www.borger.com.br/softsupply
> >>
> >> if you have any questions, please feel free to write us at any time.
> >>
> >> Best regards,
> >> Edgar
> >>
> >> --
> >> Edgar Borger
> >> Softsupply Informatica Ltda.
> >> Rua Alagoas, 48
> >> Sao Paulo, SP
> >> 01242-000
> >> Tel : (5511) 3159-1997
> >> Fax : (5511) 3255-5224
> >
> >
Edgar Borger Re: New SMTP Class
on Wed, 08 Jun 2011 16:10:39 -0300
Hi Don

Yes, just tested it, and it works !

Regards,
Edgar



Em 08/06/2011 07:01, Don Keating escreveu:
> Edgar,
>
> Does it work with Yahoo free account?
>
>     >don<
>
> On Tue, 07 Jun 2011 10:05:55 -0300, Edgar Borger wrote:
>
>> Hello Chris,
>>
>> just tested it with more than one attachment, and yes, it works.
>> also working with hotmail and gmail accounts.
>>
>> Regards,
>> Edgar
>>
>>
>> Em 28/05/2011 05:12, Chris Andries escreveu:
>>> Hi,
>>>
>>> I have two questions:
>>>
>>> 1. Can there be more than one attachment?
>>> 2. Any way to send mail as html?
>>>
>>> Best regards,
>>> Chris Andries
>>>
>>>
>>> "Edgar Borger"<eborger@terra.com.br>   wrote in message
>>> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>>>> Hello Xbase community,
>>>>
>>>> We are happy to announce a new Xbase++ class that will send email
>>>> messages via any SMTP server, including gmail, using Windows Winsock
>>>> functions, no external Dll's required.
>>>>
>>>> The new XbpSMTP class is very simple to use,
>>>>
>>>>
>>>
> ****************************************************************************
>>> ***
>>>>
>>>> PROCEDURE MAIN
>>>>
>>>> oSmtp := xbpSMTP():New()                       Creates the SMTP
> object
>>>>
>>>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>>>> SMTP server, username and password.
>>>>
>>>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>>>
>>>> oSmtp:Destroy()                                End the process
>>>>
>>>> Return
>>>>
>>>>
>>>
> ****************************************************************************
>>> ***
>>>>
>>>> a Demo version can be downloaded from our site :
>>>>
>>>> http://www.borger.com.br/softsupply
>>>>
>>>> if you have any questions, please feel free to write us at any time.
>>>>
>>>> Best regards,
>>>> Edgar
>>>>
>>>> --
>>>> Edgar Borger
>>>> Softsupply Informatica Ltda.
>>>> Rua Alagoas, 48
>>>> Sao Paulo, SP
>>>> 01242-000
>>>> Tel : (5511) 3159-1997
>>>> Fax : (5511) 3255-5224
>>>
>>>


Edgar Borger
Softsupply Informatica Ltda.
Rua Alagoas, 48
Sao Paulo, SP
01242-000
Tel : (5511) 3159-1997
Fax : (5511) 3255-5224
Anand Kumar GuptaRe: New SMTP Class
on Wed, 15 Jun 2011 13:12:18 +0530
Downloaded the demo. But could not figure out  how can I quickly send an 
email using Google Mail (GMail) ?

Can you post/attach a sample code which you used to test with gmail please.

Thanks

Anand

"Edgar Borger" <eborger@terra.com.br> wrote in message 
news:70856564$1a944e05$143ec@news.alaska-software.com...
> Hello Chris,
>
> just tested it with more than one attachment, and yes, it works.
> also working with hotmail and gmail accounts.
>
> Regards,
> Edgar
>
>
> Em 28/05/2011 05:12, Chris Andries escreveu:
>> Hi,
>>
>> I have two questions:
>>
>> 1. Can there be more than one attachment?
>> 2. Any way to send mail as html?
>>
>> Best regards,
>> Chris Andries
>>
>>
>> "Edgar Borger"<eborger@terra.com.br>  wrote in message
>> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>>> Hello Xbase community,
>>>
>>> We are happy to announce a new Xbase++ class that will send email
>>> messages via any SMTP server, including gmail, using Windows Winsock
>>> functions, no external Dll's required.
>>>
>>> The new XbpSMTP class is very simple to use,
>>>
>>>
>> ****************************************************************************
>> ***
>>>
>>> PROCEDURE MAIN
>>>
>>> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>>>
>>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>>> SMTP server, username and password.
>>>
>>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>>
>>> oSmtp:Destroy()                                End the process
>>>
>>> Return
>>>
>>>
>> ****************************************************************************
>> ***
>>>
>>> a Demo version can be downloaded from our site :
>>>
>>> http://www.borger.com.br/softsupply
>>>
>>> if you have any questions, please feel free to write us at any time.
>>>
>>> Best regards,
>>> Edgar
>>>
>>> --
>>> Edgar Borger
>>> Softsupply Informatica Ltda.
>>> Rua Alagoas, 48
>>> Sao Paulo, SP
>>> 01242-000
>>> Tel : (5511) 3159-1997
>>> Fax : (5511) 3255-5224
>>
>>
>
Edgar Borger Re: New SMTP Class
on Wed, 15 Jun 2011 10:22:55 -0300
Hi Anand,

here it is :

***************************************************************************************************
#pragma library("xbpsmtp.lib")

procedure main

cServer    := "smtp.gmail.com"
cUser      := "anyuser@gmail.com"
cPass      := "password"
smtp_port  := 587
cSender    := "anyuser@gmail.com"

cRecipient := "eborger@terra.com.br"
cAttach    := "mail.prg"
cBcc       := NIL
cCc        := {"edgar@borger.com.br" }

oSmtp = XbpSMTP():New()
oSmtp:Create(cServer, cUser, cPass, smtp_port)

cSubject := "Testing Xbase SMTP functionality with " + cServer
cBody    := "Test message"

oSmtp:Log( .t., "SMTP.LOG" )
oSmtp:SendMail(cRecipient, cSender, cSubject, cBody, cAttach, cCc, cBcc)
oSmtp:Destroy()

Return
*****************************************************************************************************************

any problem, just let me know.

Regards,
Edgar


Em 15/6/2011 04:42, Anand Kumar Gupta escreveu:
> Downloaded the demo. But could not figure out  how can I quickly send an
> email using Google Mail (GMail) ?
>
> Can you post/attach a sample code which you used to test with gmail please.
>
> Thanks
>
> Anand
>
> "Edgar Borger"<eborger@terra.com.br>  wrote in message
> news:70856564$1a944e05$143ec@news.alaska-software.com...
>> Hello Chris,
>>
>> just tested it with more than one attachment, and yes, it works.
>> also working with hotmail and gmail accounts.
>>
>> Regards,
>> Edgar
>>
>>
>> Em 28/05/2011 05:12, Chris Andries escreveu:
>>> Hi,
>>>
>>> I have two questions:
>>>
>>> 1. Can there be more than one attachment?
>>> 2. Any way to send mail as html?
>>>
>>> Best regards,
>>> Chris Andries
>>>
>>>
>>> "Edgar Borger"<eborger@terra.com.br>   wrote in message
>>> news:50b65e58$673abf72$1c757@news.alaska-software.com...
>>>> Hello Xbase community,
>>>>
>>>> We are happy to announce a new Xbase++ class that will send email
>>>> messages via any SMTP server, including gmail, using Windows Winsock
>>>> functions, no external Dll's required.
>>>>
>>>> The new XbpSMTP class is very simple to use,
>>>>
>>>>
>>> ****************************************************************************
>>> ***
>>>>
>>>> PROCEDURE MAIN
>>>>
>>>> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>>>>
>>>> oSmtp:Create( cHost, cUser, cPass )            Tell the class then
>>>> SMTP server, username and password.
>>>>
>>>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>>>>
>>>> oSmtp:Destroy()                                End the process
>>>>
>>>> Return
>>>>
>>>>
>>> ****************************************************************************
>>> ***
>>>>
>>>> a Demo version can be downloaded from our site :
>>>>
>>>> http://www.borger.com.br/softsupply
>>>>
>>>> if you have any questions, please feel free to write us at any time.
>>>>
>>>> Best regards,
>>>> Edgar
>>>>
>>>> --
>>>> Edgar Borger
>>>> Softsupply Informatica Ltda.
>>>> Rua Alagoas, 48
>>>> Sao Paulo, SP
>>>> 01242-000
>>>> Tel : (5511) 3159-1997
>>>> Fax : (5511) 3255-5224
>>>
>>>
>>
>
>
Nagy Péter Re: New SMTP Class
on Sat, 20 Aug 2011 12:05:26 +0200
I try this DEMO, but I get an error message:

Can't find the entry point (?nomTryFindRegisteredClass) in the next DLL: 
(XPPRT1.dll)

What's wrong?

Ragards: Peter Nagy

"Edgar Borger" <eborger@terra.com.br> a következoket írta üzenetében 
news:50b65e58$673abf72$1c757@news.alaska-software.com...
> Hello Xbase community,
>
> We are happy to announce a new Xbase++ class that will send email messages 
> via any SMTP server, including gmail, using Windows Winsock functions, no 
> external Dll's required.
>
> The new XbpSMTP class is very simple to use,
>
> *******************************************************************************
>
> PROCEDURE MAIN
>
> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>
> oSmtp:Create( cHost, cUser, cPass )            Tell the class then SMTP 
> server, username and password.
>
> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>
> oSmtp:Destroy()                                End the process
>
> Return
>
> *******************************************************************************
>
> a Demo version can be downloaded from our site :
>
> http://www.borger.com.br/softsupply
>
> if you have any questions, please feel free to write us at any time.
>
> Best regards,
> Edgar
>
> -- 
> Edgar Borger
> Softsupply Informatica Ltda.
> Rua Alagoas, 48
> Sao Paulo, SP
> 01242-000
> Tel : (5511) 3159-1997
> Fax : (5511) 3255-5224
AUGE_OHRRe: New SMTP Class
on Sat, 20 Aug 2011 15:51:46 +0200
hi,

>I try this DEMO, but I get an error message:
>
> Can't find the entry point (?nomTryFindRegisteredClass) in the next DLL:
> (XPPRT1.dll)
>
> What's wrong?

which Xbase++ Version did you use ?
seems you not using lates v1.9.355 SL1 Version

greetings by OHR
Jimmy
Edgar Borger Re: New SMTP Class
on Mon, 22 Aug 2011 09:46:48 -0300
Hello,

this demo is for 1.90 SL1, tell what Xbase version wre you using, and I can send you the correct demo.

Thank you,
Edgar



Em 20/8/2011 07:05, Nagy Péter escreveu:
> I try this DEMO, but I get an error message:
>
> Can't find the entry point (?nomTryFindRegisteredClass) in the next DLL: (XPPRT1.dll)
>
> What's wrong?
>
> Ragards: Peter Nagy
>
> "Edgar Borger" <eborger@terra.com.br> a következoket írta üzenetében news:50b65e58$673abf72$1c757@news.alaska-software.com...
>> Hello Xbase community,
>>
>> We are happy to announce a new Xbase++ class that will send email messages via any SMTP server, including gmail, using Windows Winsock functions, no
>> external Dll's required.
>>
>> The new XbpSMTP class is very simple to use,
>>
>> *******************************************************************************
>>
>> PROCEDURE MAIN
>>
>> oSmtp := xbpSMTP():New()  Creates the SMTP object
>>
>> oSmtp:Create( cHost, cUser, cPass )  Tell the class then SMTP server, username and password.
>>
>> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )  Send the message
>>
>> oSmtp:Destroy()  End the process
>>
>> Return
>>
>> *******************************************************************************
>>
>> a Demo version can be downloaded from our site :
>>
>> http://www.borger.com.br/softsupply
>>
>> if you have any questions, please feel free to write us at any time.
>>
>> Best regards,
>> Edgar
>>
>> --
>> Edgar Borger
>> Softsupply Informatica Ltda.
>> Rua Alagoas, 48
>> Sao Paulo, SP
>> 01242-000
>> Tel : (5511) 3159-1997
>> Fax : (5511) 3255-5224
>
Jorge LRe: New SMTP Class
on Mon, 22 Aug 2011 12:45:53 -0300
Hi
maybe the demo not read the location of the dlls

"Nagy Péter"  escribió en el mensaje de 
noticias:54b7c665$74ff537c$4cc37@news.alaska-software.com...

I try this DEMO, but I get an error message:

Can't find the entry point (?nomTryFindRegisteredClass) in the next DLL:
(XPPRT1.dll)

What's wrong?

Ragards: Peter Nagy

"Edgar Borger" <eborger@terra.com.br> a következoket írta üzenetében
news:50b65e58$673abf72$1c757@news.alaska-software.com...
> Hello Xbase community,
>
> We are happy to announce a new Xbase++ class that will send email messages 
> via any SMTP server, including gmail, using Windows Winsock functions, no 
> external Dll's required.
>
> The new XbpSMTP class is very simple to use,
>
> *******************************************************************************
>
> PROCEDURE MAIN
>
> oSmtp := xbpSMTP():New()                       Creates the SMTP object
>
> oSmtp:Create( cHost, cUser, cPass )            Tell the class then SMTP 
> server, username and password.
>
> oSmtp:SendMail( cTo, cFrom, cSubject, cMsg )   Send the message
>
> oSmtp:Destroy()                                End the process
>
> Return
>
> *******************************************************************************
>
> a Demo version can be downloaded from our site :
>
> http://www.borger.com.br/softsupply
>
> if you have any questions, please feel free to write us at any time.
>
> Best regards,
> Edgar
>
> -- 
> Edgar Borger
> Softsupply Informatica Ltda.
> Rua Alagoas, 48
> Sao Paulo, SP
> 01242-000
> Tel : (5511) 3159-1997
> Fax : (5511) 3255-5224