cancel
Showing results for 
Search instead for 
Did you mean: 

Problem sending emails through website

mjcox1
Member

Hi, 

 

I have written a website in C#, when a user registers a contact request, I want to send an email confirmation to the user. I have done this type of functionality on a number of websites, but when hosted with BT all I get is a ‘failure send exception’.

 

I am using the SmtpClient & MailMessage classes as well as the NetworkCredential class with the primary email account details. 

 

Has anyone else been able to perform similar functionailty within their website or is there a restriction on sending mail?

6 REPLIES 6

Andy75
Power User

Hi there,

 

In order for us to complete your request, please specify your domain name.

 

Regards

 

Andy

 

BT Forum Moderator

mjcox1
Member
The domain name is chi-homeinnovations.co.uk

Fiona
Grand Guru

Hi

 

There is currently someone looking into this issue for you, when we recieve any updates we will let you know.

 

Thanks

 

Fiona

BT Business Forum Moderator



Like this post, or any others? Please click on the star image on the left hand side if you do.
If you ask a question by putting up the first post in a thread and a follow-up post answers your question correctly, please let other Forum members know which post contains the correct answer by clicking on the 'Accept as Solution' button on the right hand side of the post.

mjcox1
Member
Any updates on this problem yet?

Fiona
Grand Guru

Hi

 

Sorry no one has got back to you about this, I have asked for some more information or an update on the case. When i hear back from the domain team i will let you know.

 

Thanks

 

Fiona

BT Business Forum Moderator



Like this post, or any others? Please click on the star image on the left hand side if you do.
If you ask a question by putting up the first post in a thread and a follow-up post answers your question correctly, please let other Forum members know which post contains the correct answer by clicking on the 'Accept as Solution' button on the right hand side of the post.

Tracey
Guru

Hi mjcox1,

 

In order to send the emails properly using System.Web.Mail, please point the page at 'Localhost' smtp server. We do not allow scripts sending the mail through remote mail hosts.

 

Hope this is of help

 

Tracey





If you like a post please click on the star image on the left-hand side of the post.
If someone answers your question correctly please let other Forum members know by clicking on Accept as Solution on the right-hand side of the answer post. Please also consider replying to the post stating that your question has been answered successfully.