Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Is it possible to send mail using port 80

Posted on 2004-10-20
11
202 Views
Last Modified: 2010-05-02
using cdo can we send mail through http port of smtp server
0
Comment
Question by:raj_ms
  • 5
  • 3
  • 2
11 Comments
 
LVL 4

Expert Comment

by:kurian2z5
ID: 12359940
no the server will not be listening on any port other than 25 unless specifically configured to do so.
0
 

Author Comment

by:raj_ms
ID: 12359981
why i asked this question is my lotus notes can send mail to external domains, where as my cdo program cant send mail to external domain. so i thought my lotus notes use port 80 to send email. i am sure they havent done any changes in the server settings for lotus. my smtp server ius lotus domino.
0
 

Author Comment

by:raj_ms
ID: 12360024
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "10.40.61.23"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "pwd"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
mmcdoconfig.Fields.Update
mgcdomsg.Subject = val5
mgcdomsg.MimeFormatted = True
mmcdoconfig.Load (cdoIIS)
Set mgcdomsg.Configuration = mmcdoconfig

    mgcdomsg.HTMLBody ="<html><head></head><body>hello</body></html>"
   
    mgcdomsg.Organization = "Organis"
    mgcdomsg.To = "some@differentdomain.com"    
    mgcdomsg.From ="name@mydomain.com"
   mgcdomsg.send
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:raj_ms
ID: 12360034
what is tcp/ip port no
0
 
LVL 4

Expert Comment

by:VIkasumit
ID: 12360041
Hi..

Even i think it is not possible to send mail through port 80 without the sever configuration. You need to make your server to send mail using any port. In gerneal it is only port 25 (IF i remember correctly ) for smtp.

VIkasumit
http://vikasumit.mybesthost.com
0
 
LVL 4

Expert Comment

by:VIkasumit
ID: 12360055
Hi.. What the code is all about is this your coding

VIkasumit
0
 
LVL 4

Expert Comment

by:kurian2z5
ID: 12360062
that may be an exception.
normally smtp.somedomain.com will not even accept a connection on any port other than 25
0
 
LVL 4

Accepted Solution

by:
VIkasumit earned 500 total points
ID: 12360088
TCP/IP doesn't have any particular port no But It is a name given to IP address with other protocal set that Defien the Port on on the IP address.. And hence the TCP/IP is More than a port no.

An IP address have different port like 10.10.10.10 is a Ip Address and 80 is port no to access awebsite on this IP address.


VIkasumit
0
 

Author Comment

by:raj_ms
ID: 12360092
i could use smtp port(25), it works fine for internal domain and for external domain, it gives an 554 relay rejected error.
0
 

Author Comment

by:raj_ms
ID: 12360117
so i thought my lotus notes was using some other port to send email
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question