Rank: Member
Groups: Registered
Joined: 12/23/2010(UTC) Posts: 24 Location: rennes
Thanks: 8 times
I m using the SMTP component for sending a valendar invitation I need to put an mime attachement : I use the method altbody to put the ical text. the header of the part is : ------=SPLITOR00B_001_175386890DContent-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Hogunsoft Software//EN METHOD:REQUEST CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20110305T180430 UID:20656652503-120523-44771-210-264-132-174 ORGANIZER;CN=3Dle louarn florent:mailto:flohogun2@aol.com DESCRIPTION:true test CREATED:20110305T180430 SUMMARY:true test DTSTART:20110303T093000 DTEND:20110303T113000 LOCATION:true test STATUS:CONFIRMED TRANSP:OPAQUE ATTENDEE;ROLE=3DREQ-PARTICIPANT;RSVP=3DTRUE;CUTYPE=3DINDIVIDUAL; CN=3Dcontact@hogunsoft.com:contact@hogunsoft.com SEQUENCE:0 END:VEVENT END:VCALENDAR but in order to work, it has to have a different content-type : ------=SPLITOR00B_001_175386890DContent-Type: text/calendar; charset=UTF-8; method=REQUEST Content-Transfer-Encoding: quoted-printable BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Hogunsoft Software//EN METHOD:REQUEST CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20110305T180430 UID:20656652503-120523-44771-210-264-132-174 ORGANIZER;CN=3Dle louarn florent:mailto:flohogun2@aol.com DESCRIPTION:true test CREATED:20110305T180430 SUMMARY:true test DTSTART:20110303T093000 DTEND:20110303T113000 LOCATION:true test STATUS:CONFIRMED TRANSP:OPAQUE ATTENDEE;ROLE=3DREQ-PARTICIPANT;RSVP=3DTRUE;CUTYPE=3DINDIVIDUAL; CN=3Dcontact@hogunsoft.com:contact@hogunsoft.com SEQUENCE:0 END:VEVENT END:VCALENDAR so the question is : how to put this content-type with your conponent
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, You can use the following code: oSmtp.BodyFormatEx = "text/calendar; method=REQUEST"
Rank: Member
Groups: Registered
Joined: 12/23/2010(UTC) Posts: 24 Location: rennes
Thanks: 8 times
Thanks, it works for the mail html body. The problem is that the mail html body is used to have an explicit text, and only the altbody should have this format. So do you have a method to set the altbody to Content-Type: "text/calendar; charset=UTF-8; method=REQUEST"
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
I just build a test version which meets your requirement, please check your email, I've sent an email to you
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.