Re: multi-part email help
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37346
interpreted = N
texte = Try changing your code to:This works flwlessly for me on multiple platforms and email packages.Remember also to save this with unix line breaks if you are serving from aunix machine etc for Mac and windows also.I found I needed to force the linebreaks with [unurl]%0D%0A[/unurl] to clearly define the boundries.Hope that helpsAlain[sendmail To=[emailaddress]&From=[email_from_name]<[email_from]>&Subject=[email_subject]&Reply-To=[email_reply]&MIME-Version=1.0&Content-Type=multipart/alternative; charset=us-ascii;boundary=this_is_the_boundary&Content-Transfer-Encoding=7bit]--this_is_the_boundaryContent-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]Text part here: leave the space around thisThank you.[unurl]%0D%0A[/unurl]--this_is_the_boundaryContent-Type: text/html; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]HTML Part here: leave the space here as well.--this_is_the_boundary--[/sendmail]> I have been trying to get a multi-part email working through webcat> using this code from the archives:> > [sendmail to=me@mydomain.com&from=me@mydomain.com&subject=A multi-part> message&date=[date]&time=[time]&MIME-version=1.0&Content-Type=multipart/altern> ative;boundary=1001]> > Content-Type:text/html;charset=iso-8859-1> > > > >
bgcolor=#bbbbbb>> Here's the HTML-styled> message |
>
> > > --1001> > Content-Type:text/plain;charset=us-ascii> > > Here is the plain text message.> > --1001--> [/sendmail]> > > > But its not returning the results Id expect.> > In Netscape I get this as the email:> > Content-Type:text/plain;charset=us-ascii> > Here is the plain text message.> > > > And in Clairs emailer I get this as the email:> > ontent-Type:text/plain;charset=us-ascii> Here is the plain text message.> > > > yes, even without the 'C' in content.> > Any suggestions on how to get this working?> > --> Jamie Cross> Mirage Visuals> 412.372.4181> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Try changing your code to:This works flwlessly for me on multiple platforms and email packages.Remember also to save this with unix line breaks if you are serving from aunix machine etc for Mac and windows also.I found I needed to force the linebreaks with [unurl]%0D%0A[/unurl] to clearly define the boundries.Hope that helpsAlain[sendmail To=[emailaddress]&From=[email_from_name]<[email_from]>&Subject=[email_subject]&Reply-To=[email_reply]&MIME-Version=1.0&Content-Type=multipart/alternative; charset=us-ascii;boundary=this_is_the_boundary&Content-Transfer-Encoding=7bit]--this_is_the_boundaryContent-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]Text part here: leave the space around thisThank you.[unurl]%0D%0A[/unurl]--this_is_the_boundaryContent-Type: text/html; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]HTML Part here: leave the space here as well.--this_is_the_boundary--[/sendmail]> I have been trying to get a multi-part email working through webcat> using this code from the archives:> > [sendmail to=me@mydomain.com&from=me@mydomain.com&subject=A multi-part> message&date=[date]&time=[time]&MIME-version=1.0&Content-Type=multipart/altern> ative;boundary=1001]> > Content-Type:text/html;charset=iso-8859-1> > > > > bgcolor=#bbbbbb>> Here's the HTML-styled> message |
>
> > > --1001> > Content-Type:text/plain;charset=us-ascii> > > Here is the plain text message.> > --1001--> [/sendmail]> > > > But its not returning the results Id expect.> > In Netscape I get this as the email:> > Content-Type:text/plain;charset=us-ascii> > Here is the plain text message.> > > > And in Clairs emailer I get this as the email:> > ontent-Type:text/plain;charset=us-ascii> Here is the plain text message.> > > > yes, even without the 'C' in content.> > Any suggestions on how to get this working?> > --> Jamie Cross> Mirage Visuals> 412.372.4181> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Alain Russell
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2 - Getting to the browser's username/password data (1997)
Generating Report Totals (1997)
Thanks ! (1997)
WebCat2b13 Command Reference Doc error (1997)
[showif] problem (1999)
Electronic Delivery (1997)
DATES (2004)
RE: [isfolder] and [filename] (1997)
make updates in a temporary database (2004)
WCS Newbie question (1997)
Generating unique SKU from [cart] - FIXED! (1997)
PCS Frames (1997)
quitting (1997)
Rollovers (1999)
Separate SSL Server (1997)
Showif, Hideif reverse logic ? (1997)
Setting user and password (1999)
Encrypted links ... (2000)
For those of you not on the WebCatalog Beta... (1997)
back button problem (1999)