[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] DNS name resolution...

From: md
Subject: Re: [bug-mailutils] DNS name resolution...
Date: Tue, 06 May 2003 20:35:36 +0000


Here is a sample program to send and receive email.

You wanted a programmatic way to do it and here it is.

This sample created by Sergey Panzyakoff.

DNS failures are usually a computer setup problem.

If you are using linux, type this at a command line prompt: nslookup

This may identify why your DNS is not working.

Hope it helps,

Mark Diener

Timothy Carpenter wrote:
> Hi,
> Now I am finally able to move on to feeling my way with mailutils I have the
> usual dumb questions!
> As a precursor to coding I have tried the simplest thing - sfrom - to look
> at an email account and get something back.
> I have entered and got the following:
> timcarpenter% setenv MAIL=pop://address@hidden
> timcarpenter% ./sfrom
> mailbox_open: DNS name resolution failed
> So I am missing something pretty basic, but I am unable to find out where to
> go next (my email f/e seems happy enough to work with that URL). Frankly, I
> am used to such f/e email apps and not in the slightest used to using UNIX
> directly for email - so apologies for such a basic question. I want to avoid
> turning my machine into an email server, if possible.
> BTW- my target is to programmatically get new mail alerts in realtime or at
> worst 1sec interval polling from 2 or more email addresses to separate
> applications.
> Thanks in advance
> Tim
> _______________________________________________
> Bug-mailutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-mailutils

Attachment: popread.c
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]