New topic: 

Sending Email - Server works, Local PC - not.

<http://forums.realsoftware.com/viewtopic.php?t=47414>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        mpastor          Post subject: Sending Email - Server works, 
Local PC - not.Posted: Tue Mar 26, 2013 6:58 pm                         
Joined: Sat Oct 18, 2008 4:58 pm
Posts: 131                This code works on my Web CGI Application hosted on a 
Linux server.  Any thoughts on why this might not be working on my Windows 7 PC?
  
  Dim sm As New SMTPSocket
  sm.address = "MyHost.com"
  sm.port = 25
  sm.username = "[email protected]"
  sm.password = "mypassword"
  
  Dim Mail As New EmailMessage
  mail.fromAddress="[email protected]"
  mail.subject="MyHost report"
  
  Dim t As String = "email content goes here"
  
  mail.bodyPlainText = t
  mail.addRecipient "[email protected]"
  
  sm.messages.append mail
  sm.SendMail   
                             Top                DaveS          Post subject: 
Re: Sending Email - Server works, Local PC - not.Posted: Tue Mar 26, 2013 8:08 
pm                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4698
Location: San Diego, CA                Do you have an email server installed on 
your Win7 box?

Not a email CLIENT (such as Outlook)... but a SERVER (like Exchange)

Most computers that are configured as a web server, also have an email server 
installed.      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                mpastor          Post subject: 
Re: Sending Email - Server works, Local PC - not.Posted: Tue Mar 26, 2013 8:48 
pm                         
Joined: Sat Oct 18, 2008 4:58 pm
Posts: 131                I thought it might be that.
Thanks.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to