Author | Topic: Sending e-Mails from a xBase++ application - how to? | |
---|---|---|
Klemens Lichter | Sending e-Mails from a xBase++ application - how to? on Thu, 17 Feb 2011 13:48:11 +0100 Hi, I need to implement e-Mail sending and receiving into a xBase++ application. Until now I am very new to problems like this. I have ASINET in my subscription, and while reading in the asinet NG nearly every question concerning e-Mails with ASINET is answered with "use SEE4XB" to do the job. This is not very encouraging. Anyway, I checked Marshallsoft homepage and downloaded the trial. It seems to be much more I get with ASINET, but the samples as far I tested them are also only some partial work. What I need is 1) a possibility to create Mails (textmails can be done in the simpliest way with MLE, but how do you create HTML-Mails? Is there a html-editor that can be integrated) and send them to a specified mailadress oder send it like mailmerge in M$-Word to a group of mailadresses. 2) a possibility to receive mails and store them in a certain way (memo-field in a DBF?) so that it can ve viewed if I view the customers adress data. So again I need to view either text or html. 3) a possibility to resend received mails to another adress. I think Im able to handle most of the "surroundings" about it, but I never handled e-Mails so my question is, if somebody can give me some help what I have to do to get it running. Eihter completely with ASINET oder with SEE4XB. Something in the way 1) do this (check example.prg to understand the topic) 2) do the next ... (check next example to understand...) and so on. Especially the points view and create html-mails I would be interested. Thanks in advance Klemens | |
Joe Carrick | Re: Sending e-Mails from a xBase++ application - how to? on Thu, 17 Feb 2011 15:15:26 -0800 Hi Klemens, I use SocMapi. It's really easy and includes the ability to send with attachments to multiple recipients. I tend to use PDFs vs html. On 2/17/2011 4:48 AM, Klemens Lichter wrote: > Hi, > > I need to implement e-Mail sending and receiving into a xBase++ application. > Until now I am very new to problems like this. I have ASINET in my > subscription, and while reading in the asinet NG nearly every question > concerning e-Mails with ASINET is answered with "use SEE4XB" to do the job. > This is not very encouraging. > Anyway, I checked Marshallsoft homepage and downloaded the trial. It seems > to be much more I get with ASINET, but the samples as far I tested them are > also only some partial work. > > What I need is > 1) a possibility to create Mails (textmails can be done in the simpliest way > with MLE, but how do you create HTML-Mails? Is there a html-editor that can > be integrated) and send them to a specified mailadress oder send it like > mailmerge in M$-Word to a group of mailadresses. > 2) a possibility to receive mails and store them in a certain way > (memo-field in a DBF?) so that it can ve viewed if I view the customers > adress data. So again I need to view either text or html. > 3) a possibility to resend received mails to another adress. > > I think I´m able to handle most of the "surroundings" about it, but I never > handled e-Mails so my question is, if somebody can give me some help what I > have to do to get it running. Eihter completely with ASINET oder with > SEE4XB. > Something in the way > 1) do this (check example.prg to understand the topic) > 2) do the next ... (check next example to understand...) > and so on. > Especially the points view and create html-mails I would be interested. > > Thanks in advance > > Klemens > > | |
Hubert Brandel | Re: Sending e-Mails from a xBase++ application - how to? on Fri, 18 Feb 2011 08:46:15 +0100 Hi, first of all, if you can read and write in german, have a look at www.xbaseforum.de, we had some discussions about that I use ASINET for years to build and send automatic emails out of my programms. This is the right way for errormessages from my programs back to me or backgroundmail from a company, not a person, like eMail from a web server program. SocMapi is better, IF the user wants to send emails over his lokal installed email programm. SEE4XB seams to have more functions in reading, maybe in sending eMails, but ASINET is very easy to use and if you have it, why not to use ? To send an HTML eMail is - as I know - only to create the TEXT in HTML format and send it. If you want to use a different email for reply-to, you only have to set the metastatement. You have to set the date too in the actual version of ASINET, because it is not sometimes wrong: oMail:addHeader( "Date", TimeStampSMTP() ) if ! empty(cAntwortAdresse) oMail:addHeader( "Reply-To", cAntwortAdresse ) endif | |
Andreas Herdt | Re: Sending e-Mails from a xBase++ application - how to? on Fri, 18 Feb 2011 09:26:36 +0100 Hi, The Asinet Library comes with a sample for sending html e-mails. This sample shows how to send html content that was created by saving a Microsoft Word document as html file. The tricky thing at this place was to restructure the html in a way so that the bitmaps are send as inline MIME parts. Am 18.2.2011 08:46, schrieb Hubert Brandel: > Hi, > > first of all, if you can read and write in german, have a look at > www.xbaseforum.de, we had some discussions about that > > I use ASINET for years to build and send automatic emails out of my programms. > This is the right way for errormessages from my programs back to me or > backgroundmail from a company, not a person, like eMail from a web server program. > > SocMapi is better, IF the user wants to send emails over his lokal installed > email programm. > > SEE4XB seams to have more functions in reading, maybe in sending eMails, but > ASINET is very easy to use and if you have it, why not to use ? > > To send an HTML eMail is - as I know - only to create the TEXT in HTML format > and send it. If you want to use a different email for reply-to, you only have > to set the metastatement. You have to set the date too in the actual version > of ASINET, because it is not sometimes wrong: > > oMail:addHeader( "Date", TimeStampSMTP() ) > if ! empty(cAntwortAdresse) > oMail:addHeader( "Reply-To", cAntwortAdresse ) > endif Andreas Herdt Alaska Software -------------------------------------------------------------------- Technical Support: support@alaska-software.com News Server: news.alaska-software.com Homepage: http://www.alaska-software.com WebKnowledgeBase: http://www.alaska-software.com/kbase.shtm Fax European Office: +49 (0) 61 96 - 77 99 99 23 Fax US Office: +1 (646) 218 1281 -------------------------------------------------------------------- | |
Thomas Braun | Re: Sending e-Mails from a xBase++ application - how to? on Fri, 18 Feb 2011 10:16:35 +0100 Hubert Brandel wrote: > SEE4XB seams to have more functions in reading, maybe in sending eMails, but > ASINET is very easy to use and if you have it, why not to use ? ASINET is very basic ... after having used see4xb, I would never use anything else. Thomas | |
Kari | Re: Sending e-Mails from a xBase++ application - how to? on Fri, 18 Feb 2011 10:51:53 +0100 I also use SEE4XB and works well, BUT I can't make work with hotmail/live See4xb support told me to look att stunnel, but not succeded. Kari "Thomas Braun" <spam@software-braun.de> skrev i meddelandet news:16pp6bdi3zl5a$.1lp160l8po5eu.dlg@40tude.net... > Hubert Brandel wrote: > >> SEE4XB seams to have more functions in reading, maybe in sending eMails, >> but >> ASINET is very easy to use and if you have it, why not to use ? > > ASINET is very basic ... after having used see4xb, I would never use > anything else. > > Thomas | |
Don Keating | Re: Sending e-Mails from a xBase++ application - how to? on Fri, 18 Feb 2011 05:26:34 -0500 I use aSocks from www.apareon.com. >don< On Fri, 18 Feb 2011 10:51:53 +0100, Kari wrote: > I also use SEE4XB and works well, > BUT I can't make work with hotmail/live > > See4xb support told me to look att stunnel, but > not succeded. > > Kari > > > > "Thomas Braun" <spam@software-braun.de> skrev i meddelandet > news:16pp6bdi3zl5a$.1lp160l8po5eu.dlg@40tude.net... > > Hubert Brandel wrote: > > > >> SEE4XB seams to have more functions in reading, maybe in sending eMails, > >> but > >> ASINET is very easy to use and if you have it, why not to use ? > > > > ASINET is very basic ... after having used see4xb, I would never use > > anything else. > > > > Thomas | |
Hubert Brandel | Re: Sending e-Mails from a xBase++ application - how to? on Sat, 19 Feb 2011 10:02:21 +0100 Hi, > ASINET is very basic ... after having used see4xb, I would never use > anything else. > > Thomas That's ok for me, I just use it for sending systememails or mails out from a web server. Regards, Hubert |