plebeo wrote:
Pessoal, eu to fazendo um script aqui pra me enviar alguns aqruivos por anexo pro meu e-mail, mas nao ta dando certo. eu nao tenho servidor de e-mail configurado e nem pretendo ter, só quero usar o bom e velho comando mail mas ele nao enviar email dejeito nenhum, eu to fazendo assim:

mail -a arquivo -s "teste" -S smtp=gmail.com:465 <http://gmail.com:465> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> smtp-auth-password=minha senha [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

ele fica nisso e nao sai nunca??? oque pode ser? como posso fazer pra enviar esse email por linha de comando?

Agradeco já
Muito grato, abs a todos.

Tente com o sendemail.


[EMAIL PROTECTED]:~$ apt-cache show sendemail
Package: sendemail
Priority: optional
Section: mail
Installed-Size: 164
Maintainer: Alejandro Garrido Mota <[EMAIL PROTECTED]>
Architecture: all
Version: 1.55-1
Depends: perl
Filename: pool/main/s/sendemail/sendemail_1.55-1_all.deb
Size: 32894
MD5sum: 7af30db236b8ae6ef194e9f1ecf7dc36
SHA1: 9e4f976f2d892c1ee64faff6bcaeefc249030aa8
SHA256: c309efc1973873f088024366d26846bbe3d82045c86038ad46647af7ac4343e7
Description: email-from-console sending tool
SendEmail is a lightweight, completly command line based, SMTP email
agent.
.
It was designed to be used in bash scripts, Perl programs, and web
sites, but it is also quite useful in many other contexts.
.
SendEmail is written in Perl and is unique in that it
requires no special modules. It has a straight forward interface,
making it very easy to use.
Tag: implemented-in::perl, interface::commandline, interface::shell, mail::smtp, mail::user-agent, network::client, protocol::smtp, protocol::ssl, role::program, use::transmission, works-with::mail



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a