Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Unable to send email due to SMTP error

KMadamba
8 - Asteroid

Hi All,

 

I have been trying to send an email using the email tool with office365 as the SMTP server but I am getting the error below:

Error: Email (1): Record#1: Unable to send email: "Error with FROM: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [SG2PR0601CA0006.apcprd06.prod.outlook.com]

 

I have configured it as follows:
SMTP: smtp.office365.com:587

and the FROM field being my work email supported by office365

 

Appreciate any help given.

 

 

5 REPLIES 5
mceleavey
17 - Castor
17 - Castor

Hi @KMadamba ,

 

Currently you can't use the email tool with accounts that require authentication, (365 being one of them).

This, I believe is being worked on by Alteryx, but there is a temporary workaround using Python. See the thread below for how to get around this:

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Sending-Emails-from-SMTP-server-requir...

 

M.



Bulien

KMadamba
8 - Asteroid

Thank you @mceleavey  !

This workaround will have to do for now.

dougperez
12 - Quasar

Another solution that I found:

1º Download SwithMail
Link: https://sourceforge.net/projects/swithmail/

2: Extract the file somewhere on the computer, such a case was not C: /

Run SwithMail.exe and click "Configure Settings with GUI"

4º Fill in all the necessary information, in the e-mail site mark an option "HTML Email" and fill in the related fields like this:
Email Subject:
% AppName%:% Module% -% NumErrors% Error

Email body:
User:% user%
Computer Name:% ComputerName%
WorkingDir:% WorkingDir%
Errors:% NumErrors%
ConversionErrors:% NumConvErrors%
Warnings:% of warnings

% OutputLog%

5th Click Generate CLI String and copy the string it shows

6th Now let's go to Alteryx, open the flow you want to send the email, otherwise we will send email if the error flow, then in "Workflow Configuration" click "Events" and "Add - Run Command" "

7 In "Run Event When:" put "After Running With Errors", "Command" put "C: /SwithMail.exe" and "Command Arguments" paste a string from step 5 
gkakarlapudi
Alteryx
Alteryx

Hey everyone,

 

For those of you following this thread, as of the 2019.3 version of Alteryx Designer we have authentication functionality within the Email Tool. Users can now enter their credentials (username & password), select an encryption method, and connect to the appropriate port number.

 

If you are interested in connecting to a Gmail or other email service that was not previously supported by Alteryx Designer, please refer to the following knowledge base article to learn more on how to do so.

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Send-Emails-Through-Gmail-Us...

gkakarlapudi
Alteryx
Alteryx

Hey everyone,

 

For those of you following this thread, as of the 2019.3 version of Alteryx Designer we have authentication functionality within the Email Tool. Users can now enter their credentials (username & password), select an encryption method, and connect to the appropriate port number.

 

If you are interested in connecting to a Gmail or other email service that was not previously supported by Alteryx Designer, please refer to the following knowledge base article to learn more on how to do so.

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Send-Emails-Through-Gmail-Us...

Labels