jueves, 29 de abril de 2010

Como enviar correo desde consola Linux usando otro servidor SMTP-Aplica Para Windows

Hay una solución interesante para hacer esto. Utilizar sendEmail, que es un pequeño cliente de correo por SMTP y por eso podemos configurar o indicarle que servidor queremos que se encargue de enviar o dirigir nuestros email.

La web del proyecto : http://caspian.dotconf.net/menu/Software/SendEmail/

Se encuentra disponible para Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP, y es muy útil para incluirlo en un script de bash, si necesitamos enviar correo desde nuestro servidor. Es un script en Perl y por eso no necesitamos una instalación compilando. Solo descomprime el archivo y a utilizar. Permite usar servidores SMTP con autentificación.

Si queremos ver la ayuda : $ ./sendEmail –help

Para enviar un mensaje sencillo desde consola :
$ sendEmail -f remite@gmail.com -t fulanito@midominio.net -s servidor_smtp -u “Asunto email” -m “Cuerpo mensaje , saludos! ” -v

Si queremos enviar fichero adjunto :
$ sendEmail -f remite@gmail.com -t fulanito@midominio.net -s servidor_smtp -u “Asunto email” -m “Cuerpo mensaje , saludos! ” -a fichero.zip -v

Es una solución sencilla para servidores Linux en los que no queremos instalar y configurar
un MTA de correo como Sendmail o Exim, etc.

2 comentarios:

Anónimo dijo...

http://www.msn.com/ - [url=http://www.msn.com/]msn[/url] msn
msn

Anónimo dijo...

"I'm stronger than I've ever been, and I'm literally without back pain," Levin said.There are two types of banya "black" and "white.Stress doesn't cause IBS, but it can worsen your symptoms.The task force is currently formulating a blueprint for combatting the problem within the Palmetto State." For the past six years, Isbell's songwriting and guitar flash made up an important part of the Driveby Truckers' Southern rock.Welsh finished in a tie for 31st with a 172 and Lacey shot a 193 to finish 66th."He's at a much better condition level than a year ago." Nadal shared a friendly hit on Sunday with tournament owner Larry Ellison, the cofounder and CEO of Oracle Corp.Luke campus in Denver, the handsome, stateoftheart facility opens on Aug.28, 2008, from natural causes.
Eva attended Barnard College and Woman Medical College of Pennsylvania, earning her degree in medicine, completing her residency in medicine in 1951, to become a general practitioner, akin to family practice.
Yes, I am very much available in Chennai.
That takes training.
Another involves being dusted head to toe with an herbal powder and then luxuriating in a steam bath.
It should be a thick paste that does not drip.




http://29362.dynamicboard.de/new.php?thread=76&forum=8&reply=1&replyid=2676023%2BResult:%2Bcaptcha%2Brecognized;%2Bsuccess%2B-%2Bposted%2Bto%2Bfirst%2Bencountered%2Bpartition%2B%22new.php?thread=76&forum=8&reply=1&replyid=2676023%22;%2BBB-code%2Bnot%2Bworking
http://www.tcgongyi.com/forum.php?mod=viewthread&tid=263724&extra=
http://ekoelement.ru/site_rp/forum/messages/forum2/topic4/message104411/?result=reply#message104411

http://tahlilkadeh.ir/plugins/forum/forum_post.php?rp.1064.10
http://programme-plantain.com/index.php?option=com_kunena&func=view&catid=5&id=391808&Itemid=20#391808
http://www.sitiodaslareiras.com/forum/viewtopic.php?f=18&t=4632&p=31894#p31894

http://portalliteracki.pl/modules.php?mop=modload&name=Splatt_Forums&file=newtopic&forum=1
http://www.streawing.com/forum/posting.php?mode=reply&f=2&t=146575
http://programme-plantain.com/index.php?option=com_kunena&func=view&catid=5&id=391476&Itemid=20#391476
http://bbs.045198.com/viewthread.php?tid=14656&pid=965110&page=3834&extra=#pid965110