Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC7.1
I am using this class to send an e-mail through SMTP server. I am attaching some of my application files with extension ‘.ecg’ & ‘.evr’. I am able to send this mail with attachments when sent to our organization’s e-mail ids only, but then in received mail the extension of the attached file changes to ‘.txt’.
 
I am getting ‘Error Code 22’ on CSMTPConnection’s SendMessage command when the mail is sent to other email ids like hotmail or yahoo or any other. The error code has description ‘The device does not recognize the command. ERROR_BAD_COMMAND’.
 
If anybody has any solution to this problem please help me.
Posted 23-Apr-10 21:13pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You should ask this question in the forum at the bottom of the article itself. There is a chance that author of article will reply to it.
 
-Saurabh
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,170
1 DamithSL 4,357
2 Maciej Los 3,750
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,851


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 24 Apr 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100