[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Is it possible to send mail using port 80

Posted on 2004-10-20
11
Medium Priority
?
215 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
10 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 

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 1500 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

608 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