Re: [Gambas-user] Receiving an email

2013-07-29 Thread Rolf-Werner Eilert
Am 26.07.2013 22:38, schrieb Benoît Minisini: > Le 26/07/2013 20:58, Sprachschule Eilert a écrit : >> Hi Randall, >> >> I now got the gb.net.pop3 component to work, and your example works too. >> However, I only receive the message headers, not the message bodies, and >> the messages aren't downl

Re: [Gambas-user] Receiving an email

2013-07-29 Thread Rolf-Werner Eilert
Thanks a lot for all the good advice. In the end, it turned out that it was only the option to expect mails with more than line which was missing, i. e. a mere TRUE. Everything is running great now! Rolf Am 26.07.2013 23:04, schrieb Randall Morgan: > Yes, Benoit is right. > > I just did a qui

Re: [Gambas-user] Receiving an email

2013-07-26 Thread Randall Morgan
Yes, Benoit is right. I just did a quick demo to get you started. I used explicit commands because there are times you may need to do this. But the GB docs layout everything else. So read the docs and experiment. Also read the info on the two sites I linked to so that you have an understanding of

Re: [Gambas-user] Receiving an email

2013-07-26 Thread Benoît Minisini
Le 26/07/2013 20:58, Sprachschule Eilert a écrit : > Hi Randall, > > I now got the gb.net.pop3 component to work, and your example works too. > However, I only receive the message headers, not the message bodies, and > the messages aren't downloaded and deleted from the server. > > This is what I g

Re: [Gambas-user] Receiving an email

2013-07-26 Thread Sprachschule Eilert
Hi Randall, I now got the gb.net.pop3 component to work, and your example works too. However, I only receive the message headers, not the message bodies, and the messages aren't downloaded and deleted from the server. This is what I got, when there were 3 messages in the inbox: Connected to ma

Re: [Gambas-user] Receiving an email

2013-07-26 Thread Rolf-Werner Eilert
Am 26.07.2013 11:21, schrieb CJ: > >> Ok, since my internet is ok this evening, I downloaded 3.4.1 and >> compiled it. With ./reconf-all, ./configure and make, there's >> no problem >> as far as I could see. The very last message when installing >> with "make >> install" is >> >> Unable to compil

Re: [Gambas-user] Receiving an email

2013-07-26 Thread CJ
> Ok, since my internet is ok this evening, I downloaded 3.4.1 and > compiled it. With ./reconf-all, ./configure and make, there's > no problem > as far as I could see. The very last message when installing > with "make > install" is > > Unable to compile gb.net.pop3 > > Then it's finished.

Re: [Gambas-user] Receiving an email

2013-07-26 Thread CJ
> It's OpenSuse 12.1 I have no experience with OpenSuse at all since I'm a Debian guy but I did a quick search and it seems that it's called "gmime-2_4-devel" instead of "libgmime-2.4-dev". Check for that or maybe you can use this one??? http://rpmfind.net/linux/RPM/opensuse/11.4/i586/gmime-2

Re: [Gambas-user] Receiving an email

2013-07-25 Thread Rolf-Werner Eilert
Ok, since my internet is ok this evening, I downloaded 3.4.1 and compiled it. With ./reconf-all, ./configure and make, there's no problem as far as I could see. The very last message when installing with "make install" is Unable to compile gb.net.pop3 Then it's finished. Some lines above, I f

Re: [Gambas-user] Receiving an email

2013-07-25 Thread Rolf-Werner Eilert
It's OpenSuse 12.1 Am 25.07.2013 14:05, schrieb CJ: > >> Just looked it up, libgmime 2.4 is there on my system, but >> not the -dev version, it isn't offered at all. > > What Linux distribution, version etc. are you using? > > /CJ > > > -

Re: [Gambas-user] Receiving an email

2013-07-25 Thread CJ
> Just looked it up, libgmime 2.4 is there on my system, but > not the -dev version, it isn't offered at all. What Linux distribution, version etc. are you using? /CJ -- See everything from the browser to the database

Re: [Gambas-user] Receiving an email

2013-07-25 Thread Rolf-Werner Eilert
Just looked it up, libgmime 2.4 is there on my system, but not the -dev version, it isn't offered at all. Am 23.07.2013 19:09, schrieb CJ: > Hi Rolf, > >> Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it >> something quite new? My version here is 3.3.4. >> >> I tried to acti

Re: [Gambas-user] Receiving an email

2013-07-25 Thread Sprachschule Eilert
Thank you everyone for your help. I'm in holiday, and had an internet stop for couple of days. So, sorry for double posting. It might indeed be the reason that gb.net.pop3 wasn't compiled due to some missing library, how do I get a fast indication AFTER ./configure has run... in the form of "Le

Re: [Gambas-user] Receiving an email

2013-07-23 Thread Charlie Reinl
Am Dienstag, den 23.07.2013, 23:00 +0200 schrieb Rolf-Werner Eilert: > Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it > something quite new? My version here is 3.3.4. > > I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, > but it still doesn't know ab

Re: [Gambas-user] Receiving an email

2013-07-23 Thread Rolf-Werner Eilert
Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it something quite new? My version here is 3.3.4. I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, but it still doesn't know about Pop3Client. Am 16.07.2013 00:37, schrieb Randall Morgan: > Here's a really

Re: [Gambas-user] Receiving an email

2013-07-23 Thread Sprachschule Eilert
Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it something quite new? My version here is 3.3.4. I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, but it still doesn't know about Pop3Client. Am 16.07.2013 00:37, schrieb Randall Morgan: > Here's a really

Re: [Gambas-user] Receiving an email

2013-07-23 Thread CJ
Hi Rolf, > Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it > something quite new? My version here is 3.3.4. > > I tried to activate the gb.net, gb.net.curl and gb.net.smtp > components, > but it still doesn't know about Pop3Client. What am I doing wrong? I can't say exac

Re: [Gambas-user] Receiving an email

2013-07-23 Thread Rolf-Werner Eilert
Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it something quite new? My version here is 3.3.4. I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, but it still doesn't know about Pop3Client. What am I doing wrong? Rolf Am 16.07.2013 00:37, schrieb Ran

Re: [Gambas-user] Receiving an email

2013-07-23 Thread Rolf-Werner Eilert
Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it something quite new? My version here is 3.3.4. I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, but it still doesn't know about Pop3Client. What am I doing wrong? Rolf Am 16.07.2013 00:37, schrieb Ran

Re: [Gambas-user] Receiving an email

2013-07-22 Thread Randall Morgan
Open your project in Gambas and got to the project menu. Select 'components' and then scroll through the list to locate gd.net.pop3. Check the box. Then close. On Mon, Jul 22, 2013 at 2:58 PM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > Just wanted to try, but I don't find gb.ne

Re: [Gambas-user] Receiving an email

2013-07-22 Thread Rolf-Werner Eilert
Just wanted to try, but I don't find gb.net.pop3 - where is it? Is it something quite new? My version here is 3.3.4. I tried to activate the gb.net, gb.net.curl and gb.net.smtp components, but it still doesn't know about Pop3Client. What am I doing wrong? Rolf Am 16.07.2013 00:37, schrieb Ran

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
Thanks for all the good tipps, will keep your advice in mind! Rolf Am 16.07.2013 01:06, schrieb Randall Morgan: > Yes, either passing your credentials , host and port info via the command > line or storing it in a settings file would be best. What I sent should NOT > be used as is!!! It has many

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
I'm aware of that, thank you for the advice! Rolf Am 16.07.2013 00:57, schrieb Sebastian Kulesz: > You could use a cron tab to run the script Randall just sent. There is a > POP3Client example you can open with the gambas IDE to know how it works. > Just execute the app every x minutes and you a

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
Am 15.07.2013 23:12, schrieb Tobias Boege: > On Mon, 15 Jul 2013, Rolf-Werner Eilert wrote: >> Thanks for your advice, Randall. >> >> Am 15.07.2013 17:16, schrieb Randall Morgan: >>> Is your email pop3, IMAP, MAPI, or webmail? The way you approach this >>> depends on the target system. >> >> It i

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Randall Morgan
Yes, either passing your credentials , host and port info via the command line or storing it in a settings file would be best. What I sent should NOT be used as is!!! It has many issues I am sure. It was just a quick example to get you started. On Mon, Jul 15, 2013 at 3:57 PM, Sebastian Kulesz w

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Sebastian Kulesz
You could use a cron tab to run the script Randall just sent. There is a POP3Client example you can open with the gambas IDE to know how it works. Just execute the app every x minutes and you are done! Remember not to hardcode your username and password. You will regret later On Mon, Jul 15, 201

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Randall Morgan
Here's a really quick and dirty sample of using the gd.net.pop3 mail client using the command line project type: ' Gambas module file Public Sub Main() Dim hConn As New Pop3Client Dim sMailIds As String[] Dim sMailId As String Dim Stats As Integer[] Dim iCount As Integer Dim iSize As Intege

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Tobias Boege
On Mon, 15 Jul 2013, Rolf-Werner Eilert wrote: > Thanks for your advice, Randall. > > Am 15.07.2013 17:16, schrieb Randall Morgan: > > Is your email pop3, IMAP, MAPI, or webmail? The way you approach this > > depends on the target system. > > It is pop3 and it is my own vserver for my firm's webs

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Rolf-Werner Eilert
Thanks for your advice, Randall. Am 15.07.2013 17:16, schrieb Randall Morgan: > Is your email pop3, IMAP, MAPI, or webmail? The way you approach this > depends on the target system. It is pop3 and it is my own vserver for my firm's website. > > IMHO pop3 would be the easiest. There you would onl

Re: [Gambas-user] Receiving an email

2013-07-15 Thread Randall Morgan
Is your email pop3, IMAP, MAPI, or webmail? The way you approach this depends on the target system. IMHO pop3 would be the easiest. There you would only need to access your mail account to download the emails for processing. Gambas has PDF generation capabilities so that is not an issue. Another w

[Gambas-user] Receiving an email

2013-07-15 Thread Sprachschule Eilert
For a Gambas script, I'm looking for an easy way of receiving an email from my webserver. There is a contact form on our website, and it sends an email with the contact data to me. The idea is to have another contact form which is an application form, and to process these data by a Gambas to ma