cancel
Showing results for 
Search instead for 
Did you mean: 

Send emails in an IVR via Python's customizer ERROR

0 Kudos

sende-mailpy.txt Hi all,

for a our client's requeriment, we need to send an email from a customized ivr.

We collect the data that the clients enter by dtmf and they must be sent through outlook 365 (smtp.office365.com ', 587), for this I wrote a function in Python (customizer), but I get the following error (CEM_xxxxx.log):

ERR> [EXC] : SCS - evio correo ERR: No SSL support included in this Python

ERR> <type 'exceptions.RuntimeError'> : No SSL support included in this Python

ERR> File: <string> ( 102) Func: EnvioDatosE_Mail <None>

File: d:\704\w\NAAS4Cloud-SAP-Contact-Center-7-SP-REL-ntamd64_indirectshipment\src\install\buildtools\Python27\Lib\smtplib.py ( 649) Func: starttls <None>

someone could give me some clarification,

thank you very much.

Accepted Solutions (0)

Answers (1)

Answers (1)

sebastian_tur
Explorer
0 Kudos

Hi Sergio,

I don't know why you have this error, but I think better is to configure email sending in SAP CC (there you can send using ssl) and from IVR customizer you will insert into SAP CC database record with email to be send. When SAP CC see the record in db he will automatically send the email through.


BR,

Sebastian

0 Kudos

Hi Sebastian; that's a good chance, I'll consider it, our client apparently has relay servers of their own, in this case I will not need to use 365 and I could not send them SSL / TSL.

thanks for your help,.
Sergio.

former_member202106
Contributor
0 Kudos

Hi,

I would also propose using the method Sebastian proposed. The case is that Python in SAP Contact Center package is not full package.

Br,

Jukka

0 Kudos

Right jukka, and I suppose that "completing" the package would suppose some inconvenience for future releases.
Thank you very much.

former_member202106
Contributor
0 Kudos

Yes, that is right. For example SAP might upgrade build in Python version and then you need to manually upgrade the import version as well. Naturally with new version you should run testing rounds and ensure the functionality.

After all those are small things and can be avoided with good documentation, but I must say that people forget these kind of customization quite often and then you have business critical issue at your hands.

BR,
Jukka

0 Kudos

Right Jukka, we finally solved it with a server provided by the client, without TSL / SSL.

I take this opportunity to ask you -that when you have a few minutes- you have a look at this question, please:

https://answers.sap.com/questions/63580/sap-cc-ivr-cannot-reach-child-element.html

Thanks Jukka.

Bst regrds.

Sergio.