Re: email auto-reply program
Re: email auto-reply program
- Subject: Re: email auto-reply program
- From: Erik Thorteran <email@hidden>
- Date: Wed, 20 Jun 2001 11:08:57 -0700
>
Hehe, you're expecting big money? ;-) Hey, this is shareware we're
>
talking about ;-)
No, not really, but answering registration emails will be tedious, so I
though this would be better. Also, I will be leaving town for a month,
so this will have to do.
>
Well, seriously, here is an snippet from NSMailDelivery.h that resides
>
inside Message.framework:
>
>
<code omitted>
>
>
I'm sure you can use that to send messages...However, the receiving
>
part is a bit different...You may have to do that yourself...The POP
>
protocol isn't very difficult though, so using BSD sockets you could
>
whip up smtng useful in a very short time...It basically goes like this:
What are sockets, ports, etc? I knew I had to learn this some day, but
now it comes. Could someone decribe this to me?
>
Open a connection to the POP server @ port 110.
>
send 'LIST' + CR
>
server replies with a list of messages
>
send 'RETR' + space + message number
>
server replies with that message, including headers etc.
>
>
Then you can process the received data using the normal NSString,
>
NSScanner etc.
>
>
/ regards, david
>
>
BTW, if you dont wanna get involved in bsd sockets here, you could
>
maybe write the app in realbasic..there are ready-made classes for
>
sending and receiving mail there...And since its not gonna be
>
distributed, you wont have to worry that its RB. People wont know
>
you're a script kiddie ;-) J/K.
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev