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

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

Kindly try this and let know buddy
cheers @Iswarya.G

1 Like

did that work buddy @Iswarya.G

1 Like

@Palaniyappan Nope. I am using outlook.

Buddy @Iswarya.G
you wont be facing this with outlook buddy 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 buddy @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 no buddy you must mention the server as @Iswarya.G
image

did that work buddy @Iswarya.G

Yes. Now worked it. Thank you.

1 Like

Thats great buddy
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 buddy @Iswarya.G

No such host is known

No worries buddy
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 buddy
try this and let know buddy
Cheers @Iswarya.G

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

1 Like

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

Cheers @Iswarya.G

Did that work buddy @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 buddy @Iswarya.G
Thats why
Cheers

Hi Palaniyappan,

Can you suggest an idea on the below issue.