flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Coltware airxMail throws script error..
Date Thu, 10 Oct 2013 16:59:29 GMT
You may have to contact the third parties directly to get assistance.
Maybe something changed about the certificate.


On 10/10/13 9:45 AM, "Saju Thankathurai" <sathikeshjith@gmail.com> wrote:

>Hi Alex, Please find the stack trace below..
>
>TypeError: Error #1009: Cannot access a property or method of a null
>object
>reference.
>at
>com.hurlant.crypto.cert::X509Certificate/getCommonName()[C:\ws\Crypto\com\
>hurlant\crypto\cert\X509Certificate.as:215]
> at
>com.hurlant.crypto.tls::TLSEngine/loadCertificates()[C:\ws\Crypto\com\hurl
>ant\crypto\tls\TLSEngine.as:691]
>at
>com.hurlant.crypto.tls::TLSEngine/parseHandshake()[C:\ws\Crypto\com\hurlan
>t\crypto\tls\TLSEngine.as:330]
> at
>com.hurlant.crypto.tls::TLSEngine/parseOneRecord()[C:\ws\Crypto\com\hurlan
>t\crypto\tls\TLSEngine.as:228]
>at
>com.hurlant.crypto.tls::TLSEngine/parseRecord()[C:\ws\Crypto\com\hurlant\c
>rypto\tls\TLSEngine.as:179]
> at
>com.hurlant.crypto.tls::TLSEngine/dataAvailable()[C:\ws\Crypto\com\hurlant
>\crypto\tls\TLSEngine.as:139]
>
>
>On Thu, Oct 10, 2013 at 8:54 AM, Alex Harui <aharui@adobe.com> wrote:
>
>> Post the error and any stack trace.
>> ________________________________________
>> From: Saju Thankathurai [sathikeshjith@gmail.com]
>> Sent: Wednesday, October 09, 2013 7:09 PM
>> To: users@flex.apache.org
>> Subject: Coltware airxMail throws script error..
>>
>> Hi,
>>
>> I am using coltware_airxmail_0_7.swc to send an email from from my flex
>> mobile app. It worked perfectly before. But for the past one week, it is
>> throwing an action script error.
>>
>> [cid:ii_141a01aa84d82046]
>>
>> Here is my code..
>>
>> private function send_plain_email():void{
>> var sender:SMTPSender = new SMTPSender();
>> sender.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErr);
>> sender.addEventListener("smtpConnectionFailed",connFailed);
>> sender.addEventListener("smtpCommandError",commandErr);
>> 
>>sender.setParameter(SMTPSender.HOST,"smtp.gmail.com<http://smtp.gmail.com
>> >");
>> sender.setParameter(SMTPSender.CONNECTION_TIMEOUT,20000);
>> AirxMailConfig.setDefaultHeaderCharset("UTF-8");
>>
>> sender.setParameter(SMTPSender.SOCKET_OBJECT,new TLSSocket());
>> sender.setParameter(SMTPSender.PORT,465);
>> sender.setParameter(SMTPSender.AUTH,true);
>> sender.setParameter(SMTPSender.USERNAME,"someMailId@gmail.com<mailto:
>> someMailId@gmail.com>");
>> sender.setParameter(SMTPSender.PASSWORD,"YourGmailPassword");
>> // Create email message
>> var message:MimeMessage = new MimeMessage();
>> var from:INetAddress = new INetAddress("YourGamilID@gmail.com<mailto:
>> YourGamilID@gmail.com>","Your Subject");
>> message.setFrom(from);
>> //To email
>> var toRecpt:INetAddress = new INetAddress("toAddress@gmail.com<mailto:
>> toAddress@gmail.com>","Subject");
>> message.addRcpt(RecipientType.TO,toRecpt);
>> //cc email
>> var cc:INetAddress = new INetAddress("ccAddress@yahoo.co.in<mailto:
>> ccAddress@yahoo.co.in>","CC Subject");
>> message.addRcpt(RecipientType.CC,cc);
>> message.setSubject("main Subject");
>> message.setTextBody("My Text Body");
>> sender.send(message);
>> sender.close();
>> }
>>
>> **************************
>>
>> Since it is throwing in the library file, i could not trace the issue.
>>Can
>> some one help me on this..
>>
>> --
>>
>> Saju
>>
>>
>
>
>-- 
>
>Regards
>
>
>Saju Thankathurai,
>Ph:+91-9449161313
>
>*"We **cannot do great things on this Earth, only small things with great
>love"*
>*-Mother Teresa (1910-1997)*


Mime
View raw message