Re: Help Reqd in mutt
- To: mutt-users@xxxxxxxx
- Subject: Re: Help Reqd in mutt
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 25 Sep 2008 13:17:14 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=jcVoRestZIE6UFwqJVbpSP4yQp4=; b=mV0o 6lfiuQM3yJ/81Y2HkOVZkR8/DsP9EnyFr7VJlGpvTWmt0CBBofPIWul5wueVeus5 K3Hlvqg4n24p1/LWD3S7OE+t0otdvuhbvKMdJXWcH8oRUMcFmidqtKkPgamJk3Ns uN1C+OdiMWIr6FNz8h76r9vPzUpCt1e/Swh5lYw=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=GCHpwh8p8YaZM5TvcFGxaNQ9NZf14TYqUvh8IQfTxhYjIA4/wrHHUF5M6TcACXn+8w6MHwUaTnOSa7YLtEwUr7qDJrmCxYfqmfC9odhk74APs1HTeY5Z/WvYdPYAGJ9Tdqyv0UyHddzoNTHfT0GsQWBvlNSMEeIxAFhoSLH2Oh4=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <438B7F806E08C24B92EA217F38CA703D02E2D592@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <438B7F806E08C24B92EA217F38CA703D02E2D592@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-31)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, September 25 at 12:02 PM, quoth Maruvada, Suryakiran:
> 1. Its not giving any error but mail is not sent. How to know the
> error. How to de-bug such things.
>
> eg mutt -a <file1> -a <file2> -s "Sample Subject" <mail Id>
How is mutt configured to send mail? What's the value of $sendmail
and/or $smtp_url?
> 2 . Is there any command to send a list of files as attachments ?
> Instead of prefixing -a to each file ?
To quote the man page:
-a file [...]
Attach a file to your message using MIME. To attach
multiple files, separating filenames and recipient
addresses with "--" is mandatory,
e.g. mutt -a img.jpg *.png -- addr1 addr2
> 3. I need to send the contents of a file as Message body. How.?
Use the file as input, like so:
mutt recipient@xxxxxxxxxxx < message.txt
That's in the mutt man page too.
> 4. What does mutt command returns.?
You could find that out by just trying a test message...
> 5. I need to move the list of files once the mail is sent ...ie. In the
> above command
> eg mutt -a <file1> -a <file2> -s "Sample Subject" <mail
> Id>
> Once the mails are sent I need to move file1, file2 to a
> different folder.
Well, mutt won't move them, but you can do it all by yourself:
mutt -s subject -a file1 file2 < body.txt && \
mv file1 file2 folder/
Is there some reason you don't want to do that?
A lot of this you can find out by just thumbing through the
documentation.
~Kyle
- --
Time goes, you say? Ah no! Time stays, *we* go.
-- Austin Dobson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkjb1aoACgkQBkIOoMqOI14RxgCg1H0Mx/m+PU61qJ8KXO5+jUua
K4cAni5CycYf+dSfhG2H9r4XqdZS1fg1
=Jylx
-----END PGP SIGNATURE-----