Wednesday, August 5, 2009

How do i learn java mail ?

i dont have domain.



i dont have mail server.



but i want to learn java mail.



i found this link



http://servletsuite.com/servlets/sendmai...



this link teaches %26quot;how to mail%26quot; in JSP.



here is the code



%26lt;%@ taglib uri=%26quot;taglib.tld%26quot; prefix=%26quot;send%26quot; %%26gt;



%26lt;send:Sendmail



host=%26quot;relay.company.com%26quot;



domain=%26quot;company.com%26quot;



port=%26quot;25%26quot;



from=%26quot;admin@company.com%26quot;



to=%26quot;customer@acme_company.com%26quot;



subject=%26quot;Order confirmation%26quot;%26gt;



Thank you for using our shop.



Your order Id is 123456789



%26lt;/send:Sendmail%26gt;



is there any FREE MAIL SERVER so that i could test java mail.



if you know, any such please tell me the parameters above so that i could test and learn java mail.



basicall, i need a FREE MAIL SERVER , DOMIAN so that i could test my mail. is there any such mail server exists in the internet.



i downloaded apache JAMES and tried to install but you know i dont have domain. i can not make it a global mail sever which could route mails .



so, if there is any SERVER exists FREELY .



Regards.



How do i learn java mail ?





To test javamail API you need an email account that allows you to programmatically send and receive emails.



To put in a different way, you need a pop account. There are some free pop email accounts available like



1. www.hotpop.com



2. www.gmail.com



After creating a pop account, you can send and receive emails from your java programs using smtp and pop server id respectively. Look at the following tutorials on how to send an email from java.



http://www.javacommerce.com/displaypage....



How do i learn java mail ?



try to check howstuffworks.com

No comments:

Post a Comment