Solved

Is it possible to send mail using port 80

Posted on 2004-10-20
11
201 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

816 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now