SitePoint Sponsor

User Tag List

Results 1 to 20 of 20
  1. #1
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face Is there any free Stmp server

    hi,

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

    Thanks

  2. #2
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't IIS have one ?

  3. #3
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mike Borozdin View Post
    Doesn't IIS have one ?
    Yep.

  4. #4
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is there any simple online instructions that i can follow? Thanks i try to google and yahoo... but all give complicated instructions....

  5. #5
    SitePoint Wizard
    Join Date
    Feb 2007
    Posts
    1,274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  6. #6
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i have found the SMTP server in my windows whats should i do next?

  7. #7
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check if it's running and then send e-mails, example:
    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);
            }
        }
    }
    Check this:
    http://weblogs.asp.net/scottgu/archi...10/432854.aspx
    http://msdn2.microsoft.com/en-us/lib...il(vs.80).aspx

  8. #8
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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"

  9. #9
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You need to allow relaying for localhost (127.0.0.1) in the smtp virtual server properties.

  10. #10
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool it works...... but sadly, i can send to gmail but not hotmail..... can anyone help me out... thanks

  11. #11
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hadirman View Post
    cool it works...... but sadly, i can send to gmail but not hotmail..... can anyone help me out... thanks
    Have you checked your spam folder?

  12. #12
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    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.

  13. #13
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nope its not inside the spam /junk folder

  14. #14
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    That is because hotmail pretty much blackholes email from "unknown senders." Especially for net blocks coming from Asia.

  15. #15
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by wwb_99 View Post
    That is because hotmail pretty much blackholes email from "unknown senders." Especially for net blocks coming from Asia.
    Land of the rising SPAM.

  16. #16
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hahahah. ok thanks guys....

  17. #17
    SitePoint Addict savagepriest's Avatar
    Join Date
    Mar 2006
    Location
    India
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use IIs I would suggest besides there are many more online like nerdshack.com

  18. #18
    SitePoint Zealot
    Join Date
    Dec 2004
    Location
    canada
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  19. #19
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Singapore
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    by using gmail server i can sent to any email? including hotmail?

  20. #20
    SitePoint Addict savagepriest's Avatar
    Join Date
    Mar 2006
    Location
    India
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes u can send mail to any server we used it earlier


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •