Problem while sending a mail from hosting server using Google apps account.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jaydeep Ramavat
    New Member
    • Jul 2009
    • 12

    Problem while sending a mail from hosting server using Google apps account.

    Dear friends,

    I have one google apps email account.
    I am sending a mail through the ASP.NET application.

    When i sent it from local network where internet access is available, it successfully delivered at target email account.

    But when i uploaded this thing to Hosting Server I am following error.

    A socket operation was attempted to an unreachable host IPADDRESS:587

    if you have solution, i request you to share.
    Thanks
    Jaydeep.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    So you are asking "How can I send email from a location that doesn't allow email access?"

    I admit this area is out of my comfort zone, but if it works from one location with unrestricted access then your application is fine. If it fails to work from another location where they have restrictions then there isn't much you can do.

    Would some other expert with more experience chime in, or does that sound about right?

    Comment

    • Jaydeep Ramavat
      New Member
      • Jul 2009
      • 12

      #3
      I found one solution.

      Just Replaced the Port Number from 587 to 25, and it worked.
      I think port 25 is default for SMPT and it is available on hosting environment.

      Comment

      Working...