I have a need to add the ability for an app to send email
messages with attachments on certain error conditions.
The processor is a PC-on-a-board (with BIOS) with a
filesystem, running QNX 6.1.
The app already includes TCP/IP stack. It includes no
keyboard, and a standard email client is not a viable
solution as the email sent are to be originated by the
existing application rather than by a human being.
Does anyone have a sample that would demonstrate
or describe the approach that might be used to add
this capability?
This would seem to be a fairly simple matter of enabling
the email service under TCP/IP, and then adding some
sort of front-end client to compose and initiate each email.
Any guidance?
–
Jeff Maass jmaass@columbus.rr.com
We are using ESMTP library (libESMTP) to send “alarm emails”, but I haven’t
tried making attachements. There’s no ‘enabling’ anything, you just need to
know address of any SMTP server that will accept submission from you. The
library handles SMTP protocol, you just use about a dozen API calls to
manipulate it. It is open source project. The code does not compile under
QNX as is, because of lack of poll() - it needs to be hacked to use
select(). I could share my hacked version…
“Jeff Maass” <jmaass@columbus.rr.com> wrote in message
news:bi6lcr$8ht$1@inn.qnx.com…
I have a need to add the ability for an app to send email
messages with attachments on certain error conditions.
The processor is a PC-on-a-board (with BIOS) with a
filesystem, running QNX 6.1.
The app already includes TCP/IP stack. It includes no
keyboard, and a standard email client is not a viable
solution as the email sent are to be originated by the
existing application rather than by a human being.
Does anyone have a sample that would demonstrate
or describe the approach that might be used to add
this capability?
This would seem to be a fairly simple matter of enabling
the email service under TCP/IP, and then adding some
sort of front-end client to compose and initiate each email.
Any guidance?
–
Jeff Maass > jmaass@columbus.rr.com
Igor:
I’d like to look over your “hacked version”, if possible.
Regards,
Jeff
jmaass@columbus.rr.com
“Igor Kovalenko” <kovalenko@attbi.com> wrote in message
news:bi8dm1$fve$1@inn.qnx.com…
We are using ESMTP library (libESMTP) to send “alarm emails”, but I
haven’t
tried making attachements. There’s no ‘enabling’ anything, you just need
to
know address of any SMTP server that will accept submission from you. The
library handles SMTP protocol, you just use about a dozen API calls to
manipulate it. It is open source project. The code does not compile under
QNX as is, because of lack of poll() - it needs to be hacked to use
select(). I could share my hacked version…
“Jeff Maass” <> jmaass@columbus.rr.com> > wrote in message
news:bi6lcr$8ht$> 1@inn.qnx.com> …
I have a need to add the ability for an app to send email
messages with attachments on certain error conditions.
The processor is a PC-on-a-board (with BIOS) with a
filesystem, running QNX 6.1.
The app already includes TCP/IP stack. It includes no
keyboard, and a standard email client is not a viable
solution as the email sent are to be originated by the
existing application rather than by a human being.
Does anyone have a sample that would demonstrate
or describe the approach that might be used to add
this capability?
This would seem to be a fairly simple matter of enabling
the email service under TCP/IP, and then adding some
sort of front-end client to compose and initiate each email.
Any guidance?
–
Jeff Maass > jmaass@columbus.rr.com
\
Igor,
I would also like your version. sendmail and elm are not optimal in a
constrained environment!
Warren
Jeff Maass wrote:
Igor:
I’d like to look over your “hacked version”, if possible.
Regards,
Jeff
jmaass@columbus.rr.com
“Igor Kovalenko” <> kovalenko@attbi.com> > wrote in message
news:bi8dm1$fve$> 1@inn.qnx.com> …
We are using ESMTP library (libESMTP) to send “alarm emails”, but I
haven’t
tried making attachements. There’s no ‘enabling’ anything, you just need
to
know address of any SMTP server that will accept submission from you. The
library handles SMTP protocol, you just use about a dozen API calls to
manipulate it. It is open source project. The code does not compile under
QNX as is, because of lack of poll() - it needs to be hacked to use
select(). I could share my hacked version…
“Jeff Maass” <> jmaass@columbus.rr.com> > wrote in message
news:bi6lcr$8ht$> 1@inn.qnx.com> …
I have a need to add the ability for an app to send email
messages with attachments on certain error conditions.
The processor is a PC-on-a-board (with BIOS) with a
filesystem, running QNX 6.1.
The app already includes TCP/IP stack. It includes no
keyboard, and a standard email client is not a viable
solution as the email sent are to be originated by the
existing application rather than by a human being.
Does anyone have a sample that would demonstrate
or describe the approach that might be used to add
this capability?
This would seem to be a fairly simple matter of enabling
the email service under TCP/IP, and then adding some
sort of front-end client to compose and initiate each email.
Any guidance?
–
Jeff Maass > jmaass@columbus.rr.com
\