VoiceGuide IVR Software Main Page
Jump to content

Sending Email Problems

Recommended Posts

We have problems with sending emails from vg.

 

log:

074353.358 7 7 3 RunModule start Send Email, [send Email], iModuleIdx=618, previous: vgm=618, vgs=11:11
074353.359 7 7 3 state [send Email] Send Email
074353.358 77 7 3 db odbc query completed.
074353.359 7 7 3 rv replace start [$RV[id_proj_pg_email]]
074353.359 7 7 3 rv replace end [maciej@invoso.com]
074353.359 7 7 3 rv replace start
------------------------------
Dnia: $RV_YY-$RV_MM-$RV_DD o godzinie: $RV_HH:$RV_NN abonent numeru: $RV_CIDNUMBER pozostawil nagranie w załaczniku.


------------------------------
074353.359 7 7 3 rv replace end [Dnia: 14-05-05 o godzinie: 07:43 abonent numeru: 502131638 pozostawil nagranie w załaczniku.

]
074353.359 7 7 3 rv replace start [c:\abc.mp3]
074353.359 7 7 3 rv replace end [c:\abc.mp3]
074353.360 7 7 3 rv add Send Email|maciej@invoso.com
074353.360 7 7 3 rv add Send Email_Subject|Wiadomosc poczty glosowej z infolinii TELESTRADA S.A.
074353.360 7 7 3 rv add Send Email_Message|Dnia: 14-05-05 o godzinie: 07:43 abonent numeru: 502131638 pozostawil nagranie w załaczniku.
074353.360 7 7 3 rv add Send Email_Attachment|c:\abc.mp3
074353.361 7 7 3 rv add Send Email_Cc|
074353.361 7 7 3 rv add Send Email_Bcc|infolinia@invoso.com
074353.361 7 7 3 email to: maciej@invoso.com
074353.361 7 AddEmailToSend from:infolinia@agenta.pl|infolinia@agenta.pl, to:maciej@invoso.com, cc:, bcc:infolinia@invoso.com, reply:infolinia@agenta.pl, subj:Wiadomosc poczty glosowej z infolinii TELESTRADA S.A., att:c:\callrecord\manager11\ID20140505074320183.mp3, usertoken:(<to>maciej@invoso.com</to><subject>Wiadomosc poczty glosowej z infolinii TELESTRADA S.A.</subject><guid>c2efcfac-a0e9-4a3d-a9c9-ee4520b127dd</guid>) smtp:ssl:smtp.agenta.pl|587 timeout:300sec, sParamsXml:
074353.362 7 SmtpClient created ok
074353.362 7 setting EnableSsl as port = 587
074353.362 7 .Host=smtp.agenta.pl .Port=587 .EnableSsl=True sCredentialUserName=[user]
074353.362 7 SmtpClient clientEs configured ok
074353.362 7 email send start <to>maciej@invoso.com</to><subject>Wiadomosc poczty glosowej z infolinii TELESTRADA S.A.</subject><guid>c2efcfac-a0e9-4a3d-a9c9-ee4520b127dd</guid>, timeout=300sec
074353.385 7 email SendAsync returned
074353.386 7 7 3 email queued for sending.
074353.386 7 7 3 rv add Send Email_SendResult|ok
074353.386 7 7 3 FindNextVgmTitleInPathList: next module title is=[Hangup the Call 1]
074353.386 7 7 3 t timer clear (force=False)
074353.386 7 7 3 RunModule start Hangup the Call, [Hangup the Call 1], iModuleIdx=621, previous: vgm=618, vgs=11:11
074353.386 7 7 3 HangupCall (Hangup Module) crn_in=0, L1=Disconnected, L2=Running_AfterHangup, lPlayId=0, lRecId=0
074353.386 7 7 3 ccrn_connected=0, crn_NewIncomingCall=0, crn_CurrentMakeCall=0, crn_InProcessOfReleasing=2cc01cb
074353.386 7 7 3 rv add Hangup Source|Hangup Module
074353.387 7 7 3 rv add DropCall_Source|Hangup the Call 1
074353.387 7 7 3 state Hanging up... [Hangup Module]
074353.387 7 7 3 WriteToLogFiles_CurrScriptOnly begin
074353.387 7 7 3 WriteToLogFiles_DoWrite begin : strLogFnameLessSuffix=C:\Program Files (x86)\VoiceGuide\Scripts\manager\manager_termination
074353.387 7 7 3 WriteToLogFiles_DoWrite : log subdirectory exists, strLogFnameLessSuffix=C:\Program Files (x86)\VoiceGuide\Scripts\manager\log\manager_termination
074353.798 77 email send error. <to>maciej@invoso.com</to><subject>Wiadomosc poczty glosowej z infolinii TELESTRADA S.A.</subject><guid>c2efcfac-a0e9-4a3d-a9c9-ee4520b127dd</guid> System.Net.Mail.SmtpException: Failure sending mail. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
--- End of inner exception stack trace ---
074354.301 7 7 3 WriteToLogFiles_DoWrite completed
074354.301 7 7 3 RvSaveToLogFiles_CurrAndStack iScriptCallStack_LastUsed_Idx=0
074354.301 7 7 3 L2_set Idle_WaitingForNextCall (called from HangupCall)
074354.301 7 7 3 t timer set 3 sec : EV_TIMEOUT_AFTERIDLE_ALLOWOUT
074354.301 7 7 3 GoOnHoook_IssueDropCall start (crn_in=2cc01cb, crn_connected=0, crn_makecall=0, crn_NewCallArriving=0, crn_InProcessOfReleasing=2cc01cb, L1=Disconnected)
074354.301 7 7 3 t timer set 20 sec : EV_TIMEOUT_WAITFORIDLEAFTERDropCall
074354.302 7 7 3 set crn_InProcessOfReleasing=2cc01cb
074354.302 7 7 3 set crn_connected=0 (called from GoOnHoook_IssueDropCall)
074354.302 7 7 3 q_tel + cmd_DropCall 2cc01cb [0,0,0,0,0][||||]
074354.302 7 7 3 GoOnHoook_IssueDropCall end
074354.302 8 7 3 q_tel run cmd_DropCall 2cc01cb 00:00:00 max:5|00:00:00.2790160

 

VG not using alternate email send method. Each time after unsuccessful email send process VG terminating module.

 

We use configuration:

 

SMTP Server: ssl:smtp.agenta.pl

port:587

 

This same configuration settings working on thunderbird but not in VG.

 

Share this post


Link to post

The error returned by .NET's email sending routines is:

 

The remote certificate is invalid according to the validation procedure.

 

This apparently can be caused by the email server's SSL certificate not being imported in properly, or SSL certificate was actually created for a differnet URL, or there is a date mismatch on the machines, etc.

 

Some trobleshooting instructions from Microsoft for this error can be found here: http://blogs.msdn.com/b/jpsanders/archive/2009/09/16/troubleshooting-asp-net-the-remote-certificate-is-invalid-according-to-the-validation-procedure.aspx?Redirected=true

Share this post


Link to post

other problem:

 

082912.225 7 SmtpClient created ok
082912.225 7 setting EnableSsl as port = 587
082912.225 7 .Host=ta.hb.pl .Port=587 .EnableSsl=True sCredentialUserName=[poczta.glosowa.infolinii@telestrada.hb.pl]

082912.225 7 SmtpClient clientEs configured ok
082912.225 7 email send start <to>maciej@____.pl</to><subject>Wiadomosc poczty glosowej z infolinii TELESTRADA S.A.</subject><guid>6b5f1629-5ae1-4567-82fb-acbf46deb640</guid>, timeout=300sec

082916.231 7 ERROR v7.4.5207.24383 (2014-04-04 13:32:46.19) AddEmailToSend SendAsync: The SMTP host was not found.
082916.231 7 31 11 email not queued for sending.
082916.231 7 31 11 rv add Send Email_SendResult|The SMTP host was not found.
082916.232 7 31 11 FindNextVgmTitleInPathList: next module title is=[Hangup the Call 1]
082916.232 7 31 11 t timer clear (force=False)
082916.232 7 31 11 RunModule start Hangup the Call, [Hangup the Call 1], iModuleIdx=566, previous: vgm=563, vgs=11:11
082916.232 7 31 11 HangupCall (Hangup Module) crn_in=0, L1=Disconnected, L2=Running_AfterHangup, lPlayId=0, lRecId=0
082916.232 7 31 11 ccrn_connected=0, crn_NewIncomingCall=0, crn_CurrentMakeCall=0, crn_InProcessOfReleasing=2b00327
082916.232 7 31 11 rv add Hangup Source|Hangup Module
082916.232 7 31 11 rv add DropCall_Source|Hangup the Call 1

 

 

 

But Host=poczta.hb.pl not ta.hb.pl as show VG.

 

 

Why VG cutting part of HOST name?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×