I want to send E-Mail

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Bayram

I want to send E-Mail

Post by Bayram » 27 Jun 2006, 10:39

 Posted by:  Bayram 

Hi,

I want to send e-mail in my Centura 3.1 program with attached file.
I find a smtp.app source code based on WSOCK32.DLL. (written by Christian
Astor )
It is work but it is not true work with atached files. (it is plain/text
works)

Any idea or ant other source codes, examples please.

Thanks...

RainerE
Germany
Posts: 2213
Joined: 27 Apr 2021, 12:40
Location: Germany

Re: I want to send E-Mail

Post by RainerE » 27 Jun 2006, 16:27

 Posted by:  Rainer Ebert 

We use the WSock-implementation of Stefan Beltrame and it works like a
charme.

Rainer

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: I want to send E-Mail

Post by Jeff Luther » 27 Jun 2006, 18:24

 Posted by:  Jeff Luther 

Well, Bayram, you may also want to know where you can get this code ;-) !!
It's available -- at least 1 version of it is -- on Lubos's site here:
http://sqlweb.vnuk.org/index.htm

Click on "Gupta 4GL", then click on "Communications" in the right frame
pane. You will see: "WSock32 / SMTP / Base64, by Stefan Beltrame"

in that section. BTW, keep a bookmark to Lubos's site. There are many
good TD/SW samples and code in it.

Best Regards,
Jeff Luther/PC Design
info: www.pulpcards.com/gupta/

Bayram

Re: I want to send E-Mail

Post by Bayram » 28 Jun 2006, 09:12

 Posted by:  Bayram 

Stefan Beltrame's solves specially Wsock32 is ok.
Thanks...

K. Arkenberg

Re: I want to send E-Mail

Post by K. Arkenberg » 17 Jul 2006, 10:47

 Posted by:  K. Arkenberg 

hi Bayram, hi Jeff,

before I found the samples of Stefan and Christian on
http://sqlweb.vnuk.org/index.htm, I tried to use Microsoft CDO for Windows
2000 Library.apl for sending Emails. My application works fine on a client
with local SMTP, but it is not working with a remote SMTP-Server. By
starting SendUsing-Method, I get the errormessage:
error code at invocation of Send: 80020009
Source: CDO.Message.1
Error Description: "SendUsing" configuration-value ist wrong.
Sending Emails over CDO with a .NET application (and the same paramters) or
an excel-spreadsheed works fine also with a remote SMTP, so it is not a
rights-permission or configuration problem.

I didn`t find anything about this problem in the web, so I think it is a
special problem of Gupta. (I tried the versions 1.51, 3.00, 3.01) I also
tried my library on an exchangeserver (without a local SMTP) and the
cdoex.dll (and not the cdosys.dll), unfortunately with the same error. Is
this a bug or why do I not get it running? Is it really nessesary to use
winsock-functions?

In .NET there is a new object called SmtpMail, is there anything
encapsulated for Gupta?

best regards

Kerstin

Return to “td.sourcecode”

Who is online

Users browsing this forum: No registered users and 0 guests