SAP-docs / btp-connectivity

Markdown source for the SAP BTP Connectivity documentation. Enables feedback and contributions to improve the documentation.
https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/connectivity
Creative Commons Attribution 4.0 International
0 stars 2 forks source link

Include the required properties for Mail Destinations #3

Closed sebastianesch closed 7 months ago

sebastianesch commented 7 months ago

Issue description

Step 6 states: "Optional: You can enter additional properties."

Mail Destinations have mandatory "additional" properties that have to be filled. It would be nice to include those here in the documentation.

E.g.:

E.g. when you use the destination via the SAP Cloud SDK - which should link to this page - see https://github.com/SAP/cloud-sdk/issues/1709.

Kind regards, Sebastian

Feedback Type (Optional)

content gaps

Page Title on SAP Help Portal (prefilled)

Create Mail Destinations

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/create-mail-destinations?version=Cloud

Frank1Mueller commented 7 months ago

Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

Frank1Mueller commented 7 months ago

Thanks again for your feedback, Sebastian.

This is definitely a good point.

Before updating the documentation, I'd like to discuss some details:

From my perspective, only the first parameter in your list (mail.smtp.host) is a mandatory "additional" parameter. mail.smtp.port might use the smtp standard port if not defined. mail.user and mail.password are actually not "additional" parameters, but standard parameters, and only required if you use authentication type "Basic Authentication".

Do you agree with this definition?

Best regards

Frank

sebastianesch commented 7 months ago

I agree with the definition, but they go into the "additional" properties of the destination. :)

From my point of view, the documentation currently does not explain which properties are required for different scenarios. I had to step trough the Cloud SDK mail client in the debugger to figure out how to setup the destination.

Kind regards, Sebastian

Frank1Mueller commented 7 months ago

Hi Sebastian,

thanks a lot for your reply.

Yes, you're definitely right. Some properties are listed as "additional", though being present as standard properties in the relevant scenarios. This is a known inconsistency that unfortunately cannot be solved completely by just updating the documentation. However, the dev colleagues are currently working on a new version of the destinations editor that includes an improved "additional properties" section. For now, regarding the different destination scenarios (in terms of "authentication types used") I will add the parameter mail.smtp.host as mandatory property in documentation, because in fact it is (regardless of the scenario used), and should actually be a standard parameter. Also, I will provide a link to the detailed parameter list for each authentication type. I hope this will help at least a little bit for the time being.

sap-doc-bot[bot] commented 7 months ago

Thank you for your valuable feedback contribution, @sebastianesch! So that we can recognize your contribution in SAP Community, please tell us your SAP Community profile URL in a reply to this comment; don't include any other text, just the URL on its own, like this:

https://people.sap.com/your-user-name

Thanks!