| To: | qmail@list.cr.yp.to |
|---|---|
| Subject: | How to pass email message body to qmail-inject in Java |
| From: | ann wang <naannwang@yahoo.com> |
| Date: | Thu, 1 Mar 2007 09:40:04 -0800 (PST) |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-qmail@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list qmail@list.cr.yp.to |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=kBonLjzhJ2Okfa82zV1LSqtyHkmajKdL3z5LUfi2kCENePc+AtmXjiuCNRik+XcYSkiGtMa9CAbACXKVhSHbWpYwNwOfIkqshx/WHVe8YSM5vyT9H4nfoImzIrDBP0UzlrlI/AHeVowLK7u9QwjlGbmBuNp7uDdOJ/EbCVk2iNQ=; |
| Domainkey-status: | good (test mode) |
| In-reply-to: | <228100.31140.qm@web56408.mail.re3.yahoo.com> |
| Mailing-list: | contact qmail-help@list.cr.yp.to; run by ezmlm |
Hi,
I am using "Runtime.exec()" to run
qmail-inject
and give it the message either from a string or file.
I have to pass the message
body to qmail inside java, how would I do it. I am
desperate since it won't read anything from
message.txt, it just won't read < message.txt.
It end up sending a blank email.
Process proc =
runtime.exec("/var/qmail/bin/qmail-inject
naannwang@yahoo.com < message.txt");
Thanks ahead!
~A
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [djb@koobera.math.uic.edu: qmail 1.00 available], Feizhou |
|---|---|
| Next by Date: | Re: How to pass email message body to qmail-inject in Java, Charles Cazabon |
| Previous by Thread: | Re: [djb@koobera.math.uic.edu: qmail 1.00 available], DAve |
| Next by Thread: | Re: How to pass email message body to qmail-inject in Java, Charles Cazabon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |