Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #11 (permalink)  
Old August 8th, 2004, 02:18 PM
Friend of Wrox
Join Date: Jul 2004
Location: Tehran, , Iran.
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post

I ment you can use their SMTP server for free(just like a ISP)

  #12 (permalink)  
Old August 8th, 2004, 03:06 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Have you tried it?? I realy doubt that you can just hit their SMTP server from outside their hosting network without some authentication, as this would again be an open resource for spammers. I have SMTP support on my webhost that is "free" (I do pay for the hosting service, but access to the SMTP server is included). I can send emails from my site running on that host, but I can't do so from outside their systems.
  #13 (permalink)  
Old August 9th, 2004, 01:59 AM
Friend of Wrox
Join Date: Jul 2004
Location: Tehran, , Iran.
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post

you cant hit their SMTP server from outside without any authentication,first you must be registered(free) then trough your account you can send your mails.
but because it is free it has own limitations...(I dont think you could send your users weekly mails and....)
you can do it like below
MailMessage oMsg = new MailMessage(); 
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1); 
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "WMHNickName"); 
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password"); 
oMsg.From = "sample1@hotmail.com"; 
oMsg.To = "sample2@hotmail.com"; 
oMsg.Body = "Hello!"; 
Label1.Text="mail sent"; 
SmtpMail.SmtpServer = "localhost";
catch(Exception Ex){Label1.Text = Ex.ToString();} 
  #14 (permalink)  
Old November 17th, 2006, 01:00 AM
Registered User
Join Date: Nov 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

 i want to send sms using web application . what to do . i am using the smtp server in my application. while i am giving the a cell number with right network then i did not get the messge but if i give the wrong cell number then i got the failure message. what to do? help me as soon as possible.

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending mails arabuafef Classic ASP Basics 0 July 18th, 2006 06:29 AM
Sending mails. rupen Javascript How-To 1 October 25th, 2005 07:22 AM
INFO on Sending e-mails Varg_88 Beginning PHP 6 November 10th, 2004 04:19 AM
Sending e-mails using C# lily611 General .NET 3 June 30th, 2004 05:46 AM
Sending mails rajeshnerenki Pro VB 6 4 September 25th, 2003 03:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.