• Welcome to KonaKart Community Forum. Please login or sign up.
 

Configuring smtp on konakart

Started by lalit, December 11, 2007, 03:09:25 am

Previous topic - Next topic

lalit

Hello:

We are running into problems with the email setup. Are there any known issues we should be aware of? Does konakart act as an email client that uses an smtp server to send emails?

Thanks,

Lalit Singh

Trignos.com

heidi

Hello Lalit,

There are no known problems with the email set-up.

Note that enhancements were made in KonaKart 2.2.1.0 to allow more email configuration options.

These are explained in http://www.konakart.com/configurationfaq.php#How_Do_I_Set_Up_Email

Yes, KonaKart sends mail to an SMTP server.

What problems are you having?

Heidi

lucky

I tried to send email through Konakart but not successfull. I didnt see any error in the log file and handshake with smtp looks ok.

Can you please let me know what is going wrong here ?

Here is log details

DEBUG: JavaMail version 1.4.1
DEBUG: not loading file: /usr/java/jre1.6.0_03/lib/javamail.providers
DEBUG: java.io.FileNotFoundException: /usr/java/jre1.6.0_03/lib/javamail.providers (No such file or directory)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.s
mtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.
smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.I
MAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLS
tore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Micro
systems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems,
Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANS
PORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.P
OP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc],
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: not loading file: /usr/java/jre1.6.0_03/lib/javamail.address.map
DEBUG: java.io.FileNotFoundException: /usr/java/jre1.6.0_03/lib/javamail.address.map (No such file or directory)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.1and1.com", port 25, isSSL false
220 smtp.perfora.net (mrus1) Welcome to Nemesis ESMTP server
DEBUG SMTP: connected to host "smtp.1and1.com", port: 25

EHLO localhost.localdomain
250-mrus1.perfora.net pleased to meet you
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-PIPELINING
250-SIZE 52428800
250 HELP
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN"
DEBUG SMTP: Found extension "AUTH=PLAIN", arg "LOGIN"
:
DEBUG SMTP: Found extension "SIZE", arg "52428800"
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: Attempt to authenticate
AUTH LOGIN
334 VXNlcm5hbWU6
aW5mb0B0aGlua2FoZWFkc3lzdGVtcy5jb20=
334 UGFzc3dvcmQ6
d2VsY29tZQ==
235 authentication finished successfully
DEBUG SMTP: use8bit false
MAIL FROM:<root@localhost>
250 mail from: <root@localhost> ok
RCPT TO:<nag_puru@yahoo.com>
250 <nag_puru@yahoo.com> ok
DEBUG SMTP: Verified Addresses
DEBUG SMTP:   nag_puru@yahoo.com
DATA
354 Enter mail, end with "." on a line by itself
From: KonaKart <root@localhost>
Reply-To: lpendyala@tas.com
To: nag_puru@yahoo.com
Message-ID: <13861897.4.1200007493543.JavaMail.root@localhost.localdomain>
Subject: Order
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
        <head>
                <title>Order Confirmation</title>
                <style type="text/css">
                        .font {font-family: Arial, Helvetica, Sans-Serif;}
                        .title{font-size: 160%;}
                        .dataCell { font-family: Arial, Helvetica, Sans-Serif; background-color: #E1E7F7 }
                        .title1{font-size: 120%;}
                        .option{font-size: 80%;}
                </style>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        </head>
        <body>
                <table border="0" width="100%" class="font">
                        <tr>
                                <td class="title">
                                        <a href="http://www.konakart.com">
                                                <img src="http://www.konakart.com/images/logo.png"; border="0" alt=""/>
                                        </a>
                                </td>
                                <td class="title">
                                         Order Confirmation
                                </td>
                        </tr>
                </table>
                <table border="0" width="100%" class="dataCell">
                        <tr>
                                <td width="100%"  colspan="2" class="title1">
                                        KonaKart
                                </td>
                        </tr>
                        <tr>
                                <td width="100%"  colspan="2">
                                        Order Number: 3
                                </td>
                        </tr>
                        <tr>
                                <td width="100%"  colspan="2">
                                        Date Ordered: 10-Jan-2008 17:24:50
                                </td>
                        </tr>
                </table>
                <table border="0" width="100%" class="dataCell">
                        <tr>
                                <td width="100%"  colspan="2">
                                        &nbsp;
                                </td>
                        </tr>
                        <tr>
                                <td width="100%"  colspan="2" class="title1">
                                        Products
                                </td>
                        </tr>
                                                <tr>
                                <td  colspan="1" nowrap="true">
:

.
250 Message 0MKpCa-1JD6pI16JT-0008N7 accepted by mrus1.perfora.net
QUIT
221 smtp.perfora.net Bye
1

kate

Hi,

The email trace looks good to me.   Can you send an email using another email client using the exact same mail parameters?

Can you investigate what happened at the mrus1.perfora.net server once the email from KonaKart was accepted?

I'm surprised you don't receive a delivery failure message of some kind if the mail isn't successfully delivered by mrus1.perfora.net.

Kate

lucky

That was my bad, Email Address and EMail from in Store Configuration is configured properly. Now I am able to successfully send Emails.

Thank you.