Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Send mail to any user (@hotmail,@yahoo etc) from Solaris Post 47740 by pressy on Tuesday 17th of February 2004 07:53:21 PM
Old 02-17-2004
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

2. UNIX for Dummies Questions & Answers

Send mail when user logs in.

Hi All, I have a specific requirement hope you guys can help me resolve this problem. I want to send an email when a specific user logs in.. Eg: My User ID on the Unix box is VENKYA when I log into the System can we send a mail that I logged in. I am on a Sun Solaris Server. ... (3 Replies)
Discussion started by: venkyA
3 Replies

3. Solaris

mail problems - how to send mail on solaris

Hello I am new user on solaris... I need to configure my solaris to be able to send mails... I know mailx command mailx -s hello address@address.com but I get an error... you have mail in /var/mail/root # hello... User unknown /dead.letter... Saved message in /dead.letter what... (10 Replies)
Discussion started by: amon
10 Replies

4. UNIX for Dummies Questions & Answers

Can not send mail in solaris 5.9

Hi !! I'm trying to send myself a mail from my Solaris server, i had tryed with this commands: mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies

5. Shell Programming and Scripting

remove the text (*@yahoo.com, hotmail.com) from one file

Hi, I have different file name (*) at the path: /path/* with the below content: Example of the file content. abc@test.com: abc@hotmail.com, abc@yahoo.com xyz@test.com: xyz@hotmail.com qwer@test.com: qwer@gmail.com,qwer@aol.com,qwer@test2.com ghjk@test.com: ghjk@test2.com abcd@xyz.com:... (11 Replies)
Discussion started by: juniorbear
11 Replies

6. UNIX for Advanced & Expert Users

send attachments using send mail in Solaris

Hi All, I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

7. UNIX for Advanced & Expert Users

how to send email using "mail" to google or yahoo

hi all, i need to email the output of a command to a google or yahoo account. am using debian lenny 5. can someone please help me on this ? (5 Replies)
Discussion started by: coolatt
5 Replies

8. UNIX for Dummies Questions & Answers

Is it possible to send mail to a UNIX user id ?

Hi , I am trying to know the possibility of sending a mail to my unix user id from my gmail. Is there any such possibility to send the same? Please reply. Thanks in advance. (2 Replies)
Discussion started by: ssk250
2 Replies
Mail::SendEasy(3pm)					User Contributed Perl Documentation				       Mail::SendEasy(3pm)

NAME
Mail::SendEasy - Send plain/html e-mails through SMTP servers (platform independent). Supports SMTP authentication and attachments. DESCRIPTION
This modules will send in a easy way e-mails, and doesn't have dependencies. Soo, you don't need to install libnet. It supports SMTP authentication and attachments. USAGE
OO use Mail::SendEasy ; my $mail = new Mail::SendEasy( smtp => 'localhost' , user => 'foo' , pass => 123 , ) ; my $status = $mail->send( from => 'sender@foo.com' , from_title => 'Foo Name' , reply => 're@foo.com' , error => 'error@foo.com' , to => 'recp@domain.foo' , cc => 'recpcopy@domain.foo' , subject => "MAIL Test" , msg => "The Plain Msg..." , html => "<b>The HTML Msg...</b>" , msgid => "0101" , ) ; if (!$status) { print $mail->error ;} STRUCTURED use Mail::SendEasy ; my $status = Mail::SendEasy::send( smtp => 'localhost' , user => 'foo' , pass => 123 , from => 'sender@foo.com' , from_title => 'Foo Name' , reply => 're@foo.com' , error => 'error@foo.com' , to => 'recp@domain.foo' , cc => 'recpcopy@domain.foo' , subject => "MAIL Test" , msg => "The Plain Msg..." , html => "<b>The HTML Msg...</b>" , msgid => "0101" , ) ; if (!$status) { Mail::SendEasy::error ;} METHODS
new (%OPTIONS) %OPTIONS: smtp The SMTP server. (Default: localhost) port The SMTP port. (Default: 25) timeout The time to wait for the connection and data. (Default: 120) user The username for authentication. pass The password for authentication. send (%OPTIONS) %OPTIONS: from The e-mail adress of the sender. (Only accept one adress). from_title The name or title of the sender. reply E-mail used to reply to your e-mail. error E-mail to send error messages. to Recipient e-mail adresses. cc Adresses to receive a copy. subject The subject of your e-mail. msg The plain message. html The HTML message. If used with MSG (plain), the format "multipart/alternative" will be used. Readers that can read HTML messages will use the HTML argument, and readers with only plain messages will use MSG. msgid An ID to insert in the e-mail Headers. The header will be: Msg-ID: xxxxx anex Send file(s) attached. Just put the right path in the machine for the file. For more than one file use ARRAY ref: ['file1','file2'] ** Will load all the files in the memory. zipanex Compress with zip the ANEX (attached) file(s). All the files will be inside the same zip file. If the argument has the extension .zip, will be used for the name of the zip file. If not, the file will be "anex.zip", and if exist only one ANEX, the name will be the same of the ANEX, but with the extension .zip. ** Need the module Archive::Zip installed or the argument will be skipped. ** This will generate the zip file in the memory. SEE ALSO
Mail::SendEasy::SMTP, Mail::SendEasy::AUTH, HPL. This module was created to handle the e-mail system of HPL. AUTHOR
Graciliano M. P. <gm@virtuasites.com.br> I will appreciate any type of feedback (include your opinions and/or suggestions). ;-P COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-09-18 Mail::SendEasy(3pm)
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy