fosiul01
asked on
batch file to send email automaticaly
Hi,
My web hosting company server Windows base.
so i need a bath file which will sent email to a specific email adress. and i will attach this bath file to Schedule task.
In my hosting control panel, there are 2 fields
path to executable file :
Argument :
Now how i will write a bath file which will send email . and do i need to write any argument ?
My web hosting company server Windows base.
so i need a bath file which will sent email to a specific email adress. and i will attach this bath file to Schedule task.
In my hosting control panel, there are 2 fields
path to executable file :
Argument :
Now how i will write a bath file which will send email . and do i need to write any argument ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi yah sorry i was ill from last couple of day so i was away from PC
The reason behind is, i want to check our mailserver every 30 min that its receving emails or not to do some monitoring. thats all
if you can read this question of mine, its simlier to this : https://www.experts-exchange.com/questions/23482092/Sending-email-Every-hour.html
May be you are right, i will not be able to sent email via batch file
but can i run a php script from a batch file ??
like when batch file will fire, actually it will fire a php script ??
The reason behind is, i want to check our mailserver every 30 min that its receving emails or not to do some monitoring. thats all
if you can read this question of mine, its simlier to this : https://www.experts-exchange.com/questions/23482092/Sending-email-Every-hour.html
May be you are right, i will not be able to sent email via batch file
but can i run a php script from a batch file ??
like when batch file will fire, actually it will fire a php script ??
ASKER
I will not be able to install any software in my web hosting companies server as i said before,
they said, You will have to write a batch file , and put that batch file in schedule task from control panel
so without installing any thirdparty software , how i will be able to send mail by batch file ??
is not there any command that i can insert in batch file for sending email ??