Skip to main content
Solved

sending an auto generated Email by using SMTP connector


Rucha Naik
Forum|alt.badge.img+5

For my project I am trying to send an email as soon as the candidate saves his/her details in the form. I made process using the SMTP connector as per few suggestions via the community. However, the email is not auto generated. Below is my process flow. Initially I used “Activate detail” process action instead of the “Start task”. What needs to be changed in order to generate the email after the candidate saves the details in the form.

Process Flow

 

My input parameters

The variables have the details for the smtp connection to Zoho mails. 

Best answer by Mark Jongeling

I have also created a topic earlier using a SMTP connector to send a report. You can look over the way I have set it up, hope is helps!: 

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi,

...send an email as soon as the candidate saves saves his/her details in the form

If this is adding a new row, you can use the process action Add row as your starting process action. 

However, the email is not auto generated

What do you mean by this sentence? I can see that the setting From address is being filled by @smtp_server_port which cannot work. You'll have to input an email-address here. This could be something like noreply@community.com. As far as I remember, the From name is also needed to make the SMTP connector work but I'm not fully sure about that. Here you could input your company name for example or "Noreply”.

Are you also sure you do not need to input any Username or Password?; or is it that your SMTP server address has an authentication token inside it?

Best way to debug this is by either using the Process flow modeler inside the Windows GUI or by catching the status code returned by the SMTP connector process action and see which number gets returned. Anything else than 0 is not good. More on the SMTP connector here: https://docs.thinkwisesoftware.com/docs/sf/process_flows#smtp-connector

It is also quite difficult to see for me if there's anything wrong. The process flow looks good, but the input values for the SMTP connector most likely are the problem. Hope my reply can help you out!


Rucha Naik
Forum|alt.badge.img+5
  • Author
  • Partner
  • 68 replies
  • March 18, 2022

Hi Mark,
Thanks for your reply. The email auto generated  means the email is triggered after the data in the form is saved.
I have tried with username and password too, but it was not working. All the values are currently being input via the process variables. I will definitely cross check the connection details with my solution architect. 

 

These are the inputs that is being provided

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3939 replies
  • Answer
  • March 18, 2022

I have also created a topic earlier using a SMTP connector to send a report. You can look over the way I have set it up, hope is helps!: 

 


Rucha Naik
Forum|alt.badge.img+5
  • Author
  • Partner
  • 68 replies
  • March 18, 2022

Thanks Mark!

I will follow the steps you have mentioned. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings