Results 1 to 6 of 6

Thread: How to configure smpt to send emails from a web application

  1. #1
    kamei is offline New Member
    Join Date
    Oct 2013
    Posts
    4
    Rep Power
    1

    Default How to configure smtp to send emails from a web application

    Hi! I'm having some trouble configuring the smtp of zimbra(the demo version) to send emails through it.
    I'm using this configuration:
    User: zm1018ijgso
    Pass: *********
    Port: 80
    Authentication : Yes
    Secure(SSL/TLS): Yes
    When I try to send an email I receive the following error "Sockect is closed"
    My application works fine when I'm using the gmail smpt configuration:
    User: User
    Pass: *********
    Port: 465
    Authentication : Yes
    Secure(SSL/TLS): Yes

    Regards..
    Last edited by kamei; 10-18-2013 at 08:28 AM. Reason: TYPO

  2. #2
    cf7
    cf7 is offline Senior Member
    Join Date
    May 2011
    Posts
    71
    Rep Power
    4

    Default

    which os?
    firewall?

  3. #3
    kamei is offline New Member
    Join Date
    Oct 2013
    Posts
    4
    Rep Power
    1

    Default

    My app is hosted in W7, using Apache Tomcat as a webserver. The windows firewall is disabled.. and here you have the data about the zimbra demo version:
    Your Unique Login Information:

    Username: zm1018ijgso

    E-mail Address: zm1018ijgso@testzimbra.com

    Password: rcbrdy

    Servername/Hostname: testzimbra.com

    Connection Methods Enabled:

    ActiveSync/ZimbraMobile, Zimbra Desktop, POP3/IMAP, Outlook Connector(MAPI), J2ME, iPhone/Mobile HTML Client, CalDAV/WebDAV, iSync Connectivity.

    ZCS 5

    ZCS 5 AJAX Web Client
    Connection Details
    When connecting to the server using Microsoft Outlook(R), ActiveSync-enabled Devices, or any other client, you need the following information. If you set up your own server, then these options are configurable.

    SSL/TLS should be off or not enabled. ActiveSync, CalDAV, and WebDAV are accessed over port 80. When using IMAP/POP3 clients, password should be sent in clear text.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    SMTP is port is always 25 or you should use the correct Submission port which is 587 and requires authentication.

    Sent from my HTC Desire using Tapatalk
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    kamei is offline New Member
    Join Date
    Oct 2013
    Posts
    4
    Rep Power
    1

    Default

    Quote Originally Posted by phoenix View Post
    SMTP is port is always 25 or you should use the correct Submission port which is 587 and requires authentication.

    Sent from my HTC Desire using Tapatalk
    That port desn't seem to be available. If I try to ping with "telent testzimbra.com 587" the connection fail.
    Last edited by kamei; 10-22-2013 at 09:15 AM.

  6. #6
    kamei is offline New Member
    Join Date
    Oct 2013
    Posts
    4
    Rep Power
    1

    Default

    Quote Originally Posted by cf7 View Post
    which os?
    firewall?
    OS: W7 and the webapp runs over apache tomcat
    Firewall: Disable

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 03-29-2011, 07:11 PM
  2. SMPT Connector re-planted
    By isaidcor in forum Administrators
    Replies: 0
    Last Post: 01-20-2010, 02:50 PM
  3. smpt auth for Relay MTA for external delivery
    By maumar in forum Administrators
    Replies: 1
    Last Post: 01-22-2009, 08:20 AM
  4. HELP! SMPT AUTH and saslauthd.conf
    By vlskip in forum Administrators
    Replies: 4
    Last Post: 02-21-2006, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •