Sending mail

Status
Not open for further replies.

raju.ayer67762

New Member
Messages
4
Reaction score
0
Points
0
Hi
I am using a program to send mail using JavaScript. For this, I need to know the location of the server's sendmail program. It'd be great if you could also give me the IP address of this domain.
Thanks
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
Hello,

You can use the php mail() function to send an email out via sendmail. Make sure that the From: is set and is a valid email address in your cPanel or the mail will not send.

Your server is chopin, which has IP 69.175.104.34
 

raju.ayer67762

New Member
Messages
4
Reaction score
0
Points
0
Hi thanks for your help. But I was looking for the location of the sendmail program in the Unix/Windows program.
Something like this is given in a FormMail script which I downloaded from a website:
# $mailprog defines the location of your sendmail program on your unix
# system. The flags -i and -t should be passed to sendmail in order to
# have it ignore single dots on a line and to read message for recipients

$mailprog = '/usr/lib/sendmail -i -t';

I understand it is a Perl program, but still could you please help me to find it out for this site.
Thanks
 
Status
Not open for further replies.
Top