SMTP mail


 
Thread Tools Search this Thread
Special Forums IP Networking SMTP mail
# 1  
Old 10-10-2005
SMTP mail

I want to send e-mail from my yahoo account.
But
Code:
mail -s "title" *@yahoo.com < line.txt

is from my local address to *@yahoo.com.
How can i do this?
# 2  
Old 10-10-2005
you can only send email on the command line from your yahoo account if you have access to yahoo's servers --- which you most likely don't like the majority of us ...

however, you can always have the return address be set to your yahoo email account with the "-r" option to mailx (see "man mailx") to have the recipient of your email message automatically reply to your yahoo account ...

Code:
mail -s "title" -r user@yahoo.com recipient@some.com < line.txt

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl: Send mail via SMTP

I have a existing perl program , in this program it will output a email address list to a variable ( $email_list ) , mail content to a variable ( $email_content ) , if I want to send all email to these email address with corresponding content , would aadivse how to write a perl script ? thanks (2 Replies)
Discussion started by: ust3
2 Replies

2. Solaris

OutBound SMTP Server Mail issue

Hi all I have a Live SMTP server for outbound mails ( Mail being sent from my organization to outside domains). A large chunk of mails are not being sent and reside in /var/spool/mqueue directory. The header of there mails are: From: Mail Delivery Subsystem <MAILER-DAEMON> How can I... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

3. Shell Programming and Scripting

Getting error while sending mail via smtp

Hi All, I used before a simple routine code in tcl to send mail. package require smtp package require mime package require Tcl proc send_simple_message {recipient email_server subject body} { set token mime::setheader $token Subject $subject smtp::sendmessage $token \ ... (0 Replies)
Discussion started by: zivsegal
0 Replies

4. Programming

Send mail via SMTP

If anybody has a c/c++ code of send mail via smtp with or without authorization for Linux, I will be very grateful. Thank's. (0 Replies)
Discussion started by: LuckyStr
0 Replies

5. Programming

SMTP mail client C++

Hey Guys, I am writing an SMTP mail client in c++ in unix and it needs to do the following: I need to create a client the client talks to port 25 it sends a hello world message I also need to support and smtpclient class and a clientdriver class I have written the smtpclient class, but I... (1 Reply)
Discussion started by: jcy8096
1 Replies

6. Windows & DOS: Issues & Discussions

Send mail using SMTP

Hi I need to send email from batch script, using SMTP from my exchange server. Can any one send me command line of that should be non interactive. I did using MAPISEND, but i should not use it for some reasons. I have to send this using SMTP for Microsoft Exchange Server. mapisend -u... (2 Replies)
Discussion started by: mohantmk
2 Replies

7. UNIX for Dummies Questions & Answers

recover smtp mail text files

Hi All I was wondering if anyone knows how to recover smtp mail text files back into a mail client. I only have the smtp mail text files (eg named 999. etc) and I need to get them visable for the user in his mail client. I can see his other smtp files in his user area on the server but just... (12 Replies)
Discussion started by: tmware
12 Replies

8. UNIX for Advanced & Expert Users

How to configure Linux box with my SMTP mail server

Hi all, I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies

9. UNIX for Dummies Questions & Answers

sending mail via smtp

Hi Gururs, I have a process on a middelware (SAP XI) that is runnung on HP-UX. This Process is creating a flatfile. Now I want to call a script within the process that sends the created flatfile as attachment via Mail using a smpt-server. The script should have the following input parameters:... (2 Replies)
Discussion started by: elko.hasse
2 Replies

10. UNIX for Advanced & Expert Users

SMTP going to Junk Mail

Hi All I have a slight problem with sending mails from my server - if I send mails to Yahoo! or Hotmail, either direct via the SMTP server, or through sendmail, the email ends up in the account holder's Junk Mail folder. Is something in the headers causing these emails to be treated as junk?... (3 Replies)
Discussion started by: saabir
3 Replies
Login or Register to Ask a Question