LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to user sendmail (https://www.linuxquestions.org/questions/programming-9/how-to-user-sendmail-283182/)

gajaykrishnan 01-28-2005 02:25 AM

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....

pnellesen 01-28-2005 08:37 AM

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.

gajaykrishnan 02-08-2005 06:20 AM

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....


All times are GMT -5. The time now is 04:10 AM.