Rank: Member
Groups: Registered
Joined: 12/23/2010(UTC) Posts: 24 Location: rennes
Thanks: 8 times
Hello, I have the following problem : I send a first e-mail with bodyformat set to 0 or 1. The mail is send with the correct mime type part Then I want to send a second e-mail with no mime part for the text (I use AppendBody and I don t set bodyformat, then a call reset). The problem is that this e-mail is send with a mime part of type "plain/text) My question Is how to reset bodyformat attribut? (I I don t send the first e-mail, i can send e-mail with no mime type) Best regards, florent
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: flohogun2 Hello, I have the following problem : I send a first e-mail with bodyformat set to 0 or 1. The mail is send with the correct mime type part Then I want to send a second e-mail with no mime part for the text (I use AppendBody and I don t set bodyformat, then a call reset). The problem is that this e-mail is send with a mime part of type "plain/text) My question Is how to reset bodyformat attribut? (I I don t send the first e-mail, i can send e-mail with no mime type) Best regards, florent
I thought you should use AppendBody("bodytext", 0)
then ti should be ok.
Rank: Member
Groups: Registered
Joined: 12/23/2010(UTC) Posts: 24 Location: rennes
Thanks: 8 times
Indeed I use AppendBody("body",0), but the problem still persist..
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: flohogun2 Indeed I use AppendBody("body",0), but the problem still persist..
To learn more detail, could you paste your codes here? If you don't set bodyformat, the plain/text format is used. I am not very clear what do you mean "no-mime" type.
Edited by user Wednesday, August 27, 2014 12:50:25 AM(UTC)
| Reason: Not specified
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
It is very special, because modern email request content-type. But if you really need such format. You can do it like this: do not put anything to BodyText and BodyFormat. then Dim content content = oSmtp.GetEmailContent() & Chr(13) & Chr(10) & "test body text" finally oSmtp.raw_Content = content oSmtp.SendMail ...
1 user thanked ivan for this useful post.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.