Dec 212006
 

When setting up a process to deliver emails from BizTalk, treat I always configure the SMTP information correctly, I always (this has happened to me four times now) start testing it and it is continually failing. The following error is as follows:

The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available.

The resolution is that I had forgotten to configure the Send Handler with the smtp server address. Even though the documentation states that the configuration is overridden in the send port configuration, you still need to set up the address initially.

  • Craig

    Here is my code which works ok with most machines. 1 of my Win 2000 WS users is getting the 0x80040217 message. Note that I do have the mail server in there. This only recently started happening.

    Dim m As New System.Web.Mail.MailMessage
    With m
    .From = TextBox1.Text
    .To = TextBox2.Text
    .Subject = “Email Test – CDOSYS”
    .BodyFormat = MailFormat.Html
    .Body = “Email Test<br><Br>”
    End With

    SmtpMail.SmtpServer = “10.0.0.10”
    SmtpMail.Send(m)

  • dsdsd

    fdfdfdfd

  • This is just the information I was looking for. Great resource, site bookmarked.

  • priyank gupta

    when i use these code in my office system it work
    Dim email
    Set email = CreateObject(“cdo.message”)
    With email
    .To = to_txt.Text
    .CC = cc_txt.Text
    .BCC = bcc_txt.Text
    .Subject = sub_txt.Text
    .From = “abc@yahoo.com”
    .TextBody = “Hello”
    .Send
    End With
    but when i run these code in my home it shows an error

  • Jesse

    im getting the same code but im not sending any email it randomly pops up on my screen and it is irritatiing cause it minimzies what im doing pleas ehelp me resove my problem

    insaneasn@live.com

  • thank you for the post, I like it

  • viraj nevase

    This error is caused by a wrong username or password for the SMTP server. Please re-confirm if the scripts are setup to use correct login details to the mail server 🙂

  • thanks

  • Excellent post! I always enjoy a solid technical post It saved me a good weekKeep up the good work!

  • It’s a good topic. I would like to read more about your articles.That contains nice information….Thanks, informative site, i try it later…..

  • I found your website perfect for my needs. It contains wonderful and helpful posts. I have read most of them and got a lot from them. To me, you are doing the great work. Carry on this. work at home In the end, I would like to thank you for making such a nice website.

  • I would like to say this is an excellent blog that I have ever come across. Very informative. Please write more so that we can get more details.

  • I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

  • Hi;
    Unfortunately, although I realize I could not read the topic defalrca to help me in this regard would be glad if the mail.
    mary lou
    marylou23@gmail.com

  • Thank you for your article!you should keep a happy edhardy high boots mood ed hardy clothing .

  • LV

    FSDFDSFI recently came across your blog and have been reading along.eat work. Carry on this. work at home In the end, I would like to thank you for making such a nice website.

  • Thanks for such interesting post – I appreciate.

  • Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it’s nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere. This was the first place that told me the answer. Thanks.

  • Ann

    Thanks for information!

  • ASDASD

  • Hello,
    Friend nice post, Good support means that you receive a personal or bespoke service, because every business is different and therefore have their own individual networking support needs.
    Thanks
    Network support

  • not able to receoed password.

  • Excellent read, I just passed this onto a colleague who was doing a little research on this topic. And he actually bought me lunch because I found it for him. So I should thank you for the free lunch I got.

  • At this time i am not in well condition by finance when i will able to it, definitely i will invest in it.

  • I have never read such a wonderful article and I am coming back tomorrow to continue reading.

  • This article was Very helpful. Actually, I am fond of reading online punjabi news. Thanks for writing such a complete ..
    thank you for sharing..

  • Thanks for a nice share you have given to us with such an large collection of information. Great work you have done by sharing them to all. simply superb.

  • Thanks for the info. I am not sure it applies to our Exchange environment – we are trying to allow anonymous emailing and not sure if BizTalk is involved (exchange newbie here) but this error “0x80040217” is hard to find any info on. Glad you found a fix and hope it sparks some ideas on our end.

  • The error is because the username as password is wrong 🙂

  • Avinash

    bb

  • Great information…definitely going to benefit people who visit this site!

  • Av Magnus Mårtensson, Dotway The new Visual Studio 2010 IDE now support a bunch of new code generation

  • Discount Prescription Drugs: Order online pharmacy prescription drugs. Buy/Purchase discount prescription drugs, cheap prescription drugs, cheap medicines at internationalrxonline.com.

  • Valuable information you got here! I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up

  • Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.

  • ury watches wrist. This operate is a spread guidance way cheap watches online out coin again Swiss craftsmanship.ngenious largely. Chopard’s carefree pastime Chrono watches for sale ury watches wrist. This operate is a spread guidance way swiss designer watches out coin again Swiss craftsmanship.ngenious largely. Chopard’s carefree pastime Chrono mens designer watches ury watches wrist. This operate is a spread guidance way cheap high qualtiy watches out coin again Swiss craftsmanship.ngenious largely. Chopard’s carefree pastime Chrono cheap ladies watches ury watches wrist. This operate is a spread guidance way designer watches out coin again Swiss craftsmanship.ngenious largely. Chopard’s carefree pastime Chrono Seamaster 007

  • I enjoyed reading your posts. thanks for sharing. impressive page indeed.

  • I really like this site! All of you are really intriquing, notable and constantly give to us something really cool to check out.

  • I just could not depart your website before suggesting that I extremely enjoyed
    the standard info a person provide for your visitors? Is going to be back
    often in order to check up on new posts.

  • I loved reading this article I will make sure to tell
    my friends about this and link to it too. Thanks

  • Avi

    Hi,
    helpme for above error

  • I’m impressed, I need to say. Actually rarely do I encounter
    a blog that’s both educative and entertaining, and let me let you know,
    you will have hit the nail on the head. Your thought is outstanding;
    the issue is something that not enough individuals are talking intelligently about.
    I’m very happy that I stumbled across this in my seek for something regarding this.

  • Just about all feelings as well as idealogy aside,
    I think this has the potential to be one of your better works,
    might you keep producing this type of quality within your long term writing. Thanks so much.

  • Well, this is a very valuable post.
    Thanks for the information you provided.
    It would be great if got more post like this. I appreciate it.

  • I am extremely cheerful to discover this web site.
    I would like to thank you regarding this brilliant reading.
    If you possibly could add Reddit button to your web-site,
    it can help you to reach a lot more people on the web. Cheers

  • frustrated admin

    This does not work for me, is this VBS code?

  • Thanks for sharing this, you run a wonderful blog filled with good posts.