This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / 怎么在UNIX中把一个文件以attachment的方式发送出去mailx不能带attachment, sendmail又不能带subject. 有什么方法 在sendmail里放subject.
-vetra(piyupiyu);
2007-11-7
{82}
(#4043154@0)
-
i use postie, an open source program u can compile it if it is doable. or depending what OS u use. get a mail client that can do attachment.if u r fan of command line script.
use this:
uuencode file_to_be_sent | mail vetra@rolia.net
-buma(蔓毒黛扬);
2007-11-7
{97}
(#4043224@0)
-
我用了mail , attachment变成了body 出现,只有sendmail可以实现,唯一的不足是,我没有找到写Subject这个参数
-vetra(多泡泡);
2007-11-7
(#4043402@0)
-
r u saying u use sendmail as a client interface for composing the mail message directly?
-buma(蔓毒黛扬);
2007-11-7
(#4043420@0)
-
uuuencode file.csv file.csv | sendmail -t -F "xxx" email_address
但是email_address只能是公司内部的,好像不能发出去
-vetra(多泡泡);
2007-11-7
(#4043568@0)
-
check ur sendmail.rc file. u guys don't have sys admin?
-buma(蔓毒黛扬);
2007-11-7
(#4043576@0)
-
我们没有Full time的admin,基本上就是我在顶,我们用default mailhost,然后就在host文件里指向内部的mail server
-vetra(多泡泡);
2007-11-7
(#4043598@0)
-
我不希望用open source,毕竟我不管这些,将来移植会是麻烦。 要不然,ELM也是可以的
-vetra(多泡泡);
2007-11-7
(#4043404@0)
-
有个恐龙命令叫uuencode
-pipibug(我真的是个歌剧爱好者);
2007-11-7
(#4043428@0)
-
是啊,我是用 uuencode的,不过,收到email的时候没有Subject
-vetra(多泡泡);
2007-11-7
(#4043563@0)
-
some "mail" command has -s option, some u just need to add one line echo/print "Subject:TTTTTTT\r\n" in ur mail message
-buma(蔓毒黛扬);
2007-11-7
(#4043569@0)
-
sendmail的命令如果用导向符送入相应的To, CC, Subject后,attachment就掉了,本来我也只是精益求精
-vetra(多泡泡);
2007-11-7
(#4043610@0)
-
我晕死,一个下午。。。 所有没有收到的信,还以为自己写错命令呢,结果全在Junk里面。
-vetra(多泡泡);
2007-11-7
(#4043753@0)
-
LOL
-akoei(停车**枫林晚);
2007-11-8
(#4045549@0)
-
最简单的是uuencode,要是想搞点复杂的,可以写点小程序。
-hillman(山大王);
2007-11-8
{2034}
(#4045606@0)
-
thanks, uuencode is working fine for me, they were in my junk folder, i did not check them out.
-vetra(多泡泡);
2007-11-9
(#4048600@0)