How do I send batch file to with java send email?

Asked By 0 points N/A Posted on -
qa-featured

I need a code that I can use in sending batch file to with java send email coupled with Simple Mail Transfer Protocol (SMTP). The code should preferably be a method within a class so that I can include it in my initialization file. How can I use the code if I want it to send mail at regular times?

SHARE
Answered By 0 points N/A #176388

How do I send batch file to with java send email?

qa-featured

 

2 notes on this.
Your antivirus (Mcafee for example) will prevent you from sending email so you are disable it or adding bmail.exe.. For Mcafee under virusscan console, ‘access protection properties’, ‘anti-virus standard protection’ you will have a ‘block’ under ‘Prevent mass mailing worms from sending mail’. you need to add bmail.exe to its exclude list.
Also, for exchange./hubcas server (You send email to that IP address), under ‘server configuration’, ‘hub transport’, on the right will be ‘receive connectors’. Change ‘Internal Relay’. right click on it, left click on properties, under ‘network’ , add the IP address of the sending IP address to remove the need to authenticate as bmail (and others) don’t so it can just send the mail and not authenticate.
It’s how we do it. somebody else may have a better idea.
 

Related Questions