hi,
I am wondering is there any free or trail smtp server that i could use to test out for my project?
Thanks
| SitePoint Sponsor |

hi,
I am wondering is there any free or trail smtp server that i could use to test out for my project?
Thanks





Doesn't IIS have one?

is there any simple online instructions that i can follow? Thanks i try to google and yahoo... but all give complicated instructions....





It is part of Windows. Go into control panel | add/remove programs | windows components (or something to that effect; it varies per OS version).
You will probably find SMTP service under Internet Information Server.

ok i have found the SMTP server in my windows whats should i do next?





Check if it's running and then send e-mails, example:
Check this:Code:using System; using System.Collections.Generic; using System.Text; using System.Net.Mail; namespace ConsoleMail { class Program { static void Main(string[] args) { SmtpClient client = new SmtpClient("localhost"); MailAddress from = new MailAddress("your@address.com", "Yourself"); MailAddress to = new MailAddress("your@target.com", "His name"); MailMessage message = new MailMessage(); message.From = from; message.To.Add(to); message.Subject = "Hello, world!"; message.Body = "Hello, world!\n\nIt's cool"; client.Send(message); } } }
http://weblogs.asp.net/scottgu/archi...10/432854.aspx
http://msdn2.microsoft.com/en-us/lib...il(vs.80).aspx

hi,
I got this error message - "The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for myemail@hotmail.com"


You need to allow relaying for localhost (127.0.0.1) in the smtp virtual server properties.

cool it works...... but sadly, i can send to gmail but not hotmail..... can anyone help me out... thanks


Not too much you can do about this (save pay hotmail). I would not worry too much until the application is on your hosting service anyhow.

nope its not inside the spam /junk folder


That is because hotmail pretty much blackholes email from "unknown senders." Especially for net blocks coming from Asia.

hahahah. ok thanks guys....
Just use IIs I would suggest besides there are many more online like nerdshack.com

I was in your position once.
Whydont you just use gmail's server. Its secure and its validated. Just read about the system.net.mail class and learn how to set credentials and your good to go.

by using gmail server i can sent to any email? including hotmail?
yes u can send mail to any server we used it earlier
Bookmarks