LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2005, 02:25 AM   #1
gajaykrishnan
Member
 
Registered: Jul 2004
Posts: 65

Rep: Reputation: 15
how to user sendmail


hi guys,

can anybody please tell me how to use sendmail to send emails. Do i need to have the root password to use sendmail. how do i know whether sendmail is installed on the system and if it is installed whether it is running. how do i use it.
Further i guess that i can use it to send messages. but my doubt is that if i send messages then it is sent with what name and how. Can i integrate sendmail with java or can i use javamail api for this. If i can use javamail api then do i have to set up sendmail on the system.
I know that it's a lot of doubts but then i can't help myself i need the solution quickly... i have a submission coming up for my project and i need this desperately.
thanx....
 
Old 01-28-2005, 08:37 AM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Re: how to user sendmail

Quote:
Originally posted by gajaykrishnan
Do i need to have the root password to use sendmail. how do i know whether sendmail is installed on the system and if it is installed whether it is running.
1) No, any user should be able to use sendmail
2) One quick way would be to try "telnet localhost 25" from a command prompt. Should give you a response with a sendmail prompt.
3) Check some of the other posts regarding how to use sendmail from the command prompt. There's a bunch of them here

Hope this helps.
 
Old 02-08-2005, 06:20 AM   #3
gajaykrishnan
Member
 
Registered: Jul 2004
Posts: 65

Original Poster
Rep: Reputation: 15
i did telnet localhost 25 and i got connected to sendmail So what do i do now ??

i did telnet localhost 25 and i found that i could get connected.

now how do i get the name of the mail server .... it must have some name right .....
e.g. mycompany.mail.com something like that. how do i know it .


And one more doubt ..... how do i use it....?????


thanx in advance....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
local user on sendmail nabil_boussetta Linux - Networking 1 03-05-2004 07:47 AM
sendmail for a home user KidEvil Linux - Software 0 10-03-2003 05:15 PM
help again - adding user and sendmail Tigger Linux - Newbie 1 06-25-2003 03:13 AM
user for sendmail islandkid Linux - General 2 03-03-2002 02:12 PM
Same user name in Sendmail - Question? 360 Linux - General 3 06-07-2001 02:41 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration