No such host is known

I got an exception like “No such host is known” when using SMTP activity. But I have SMTP access. Sometimes it’s working fine. sometime i got above exception. Please give me the solution to avoid it.

1 Like

hi @Iswarya.G
what host you were using and for which email, outlook or gmail
May this could help you @Iswarya.G

Kindly try this and let know
cheers @Iswarya.G

1 Like

did that work @Iswarya.G

1 Like

@Palaniyappan Nope. I am using outlook.

fine @Iswarya.G
you wont be facing this with outlook as in outlook mail activity we wont pass host value in its property…as it would directly take from your outlook configuration made in your system…
so is outlook configured in your system @Iswarya.G
Cheers

@Palaniyappan ya yes. I know that. But i am using SMTP activity. Server address is “xxxxxxx”, email is outlook.

1 Like

no you must mention the server as @Iswarya.G
image

1 Like

did that work buddy @Iswarya.G

Yes. Now worked it. Thank you.

1 Like

Thats great
Cheers @Iswarya.G

@palaniyappan Frequently i am facing this issue. sometimes it’s working fine sometime’s throw an exception.

1 Like

What was the exception @Iswarya.G

No such host is known

No worries
to avoid these sort of intermittent errors,
Kindly use Get Exchange Mail Activity buddy
with
server : “https //outlook.office365.com/ews/exchange.asmx
Body : “mailbody you want”
Subject : “mailsubject you want”
username : “mail id”
password : “your mail id password”
To : “receiver mail id”


simple
try this and let know
Cheers @Iswarya.G

I got an above exception when i am using SMTP activity.

1 Like

Yes i understand, exchange works much better with outlook when compared to SMTP thats why i am suggesting to go for exchange activity

Cheers @Iswarya.G

Did that work @Iswarya.G
This will not get you to any errors like this that occurs regularly and the error may be due to connection problem with SMTP @Iswarya.G
Thats why
Cheers

Hi Palaniyappan,

Can you suggest an idea on the below issue.

hi i am trying to automate in xengine mail module i am getting error while i am running received email No such host is known
can u please help me on this issue (port no 993 enable security false protocol IMAP)