the problem you are facing is to do with Anti SPAM measures.
 
You will only be able to spam through an SMTP server on the network to which you have dialled into.
 
You will be able to SPAM through third party SMTP servers if they are configured as Open-relay's or if they contain some protocol to allow you to send from foreign networks such as POP before SMTP, in which case full details will be available from the tech support team for the service, provided you are a subscriber, and you will possibly need to authenticate yourself to port 110 of the pop server using an ordinary TCP/IP socket connection using the POP protocol, and then following a successful authentication, proceed to SPAM at will for the duration of the authentication period, which can be maybe 5 mins, after which time you will need to re-authenticate.
 
Alternatively, just diall into the target network, or find an open relay server for SPAM purposes.
 
Google will help you with definitions of terms used above and sample code.
 
HTH
 
 -Enda.
----- Original Message -----
From: ssmtech
Sent: Saturday, February 15, 2003 9:06 AM
Subject: Need to send mails with SMTP server set in J2ee Deploytool different from the net Connection i am using...

Hello Sir,
I am working on an Enterprise Java Bean Application running on J2EE application server and use JavaMail API to send Emails throu' the application....
In the J2EE Deploytool the SMTP server is set to "smtp.roltanet.com" provided by ISP....and by connecting to Roltanet we are able to send emails successfully...

But the problem is.. if i set the SMTP server other than Roltanet,then
i am not able to send emails....

But,I think there is a way in which,even though u are connected to say,Roltanet and use say, VSNL's SMTP server and also have an account on VSNL then, by supplying the VSNL's user id and password ...
VSNL's SMTP will allow to send emails...even though it is connected to the internet throu Roltanet....

Can any body help me out with the issue...any suggestion or code samples will be helpful....
Sorry if the question does not belong to this forum...i desparately need a solution to the issue.....

Thanks
Sam

Reply via email to