Re: [WebDNA] Multi Part SendMail
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110414
interpreted = N
texte = FrankMake sure you have a line of space before each boundary.RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 02/06/2013, at 9:03 AM, C. Frank Wolfe
wrote:> Hi,> I could sure use another pair of eyes to look at this code.> Older server running 4.5.1.>=20> Please note the colon between Content-Type=3Dmultipart/mixed:boundary, =I am sure that should be a semicolon, but when I use that the eMail =arrives as basically all text with a binary file. Like this:>=20> --123abc> Content-Type: text/html;> charset=3DUS-ASCII;> Content-Transfer-Encoding: 7bit;> etc, etc.>=20> With the colon, it works fine, except for GMail, where I get the =attachment and NO body text at all. I can't find anything that says =GMail does not accept multipart eMails. Wondering if anyone has any =secret knowledge about that one.>=20> I've been looking at this code for days, so anyone see anything else =wrong please let me know. My eyes are burning into the screen.>=20> Full Code:> [text]line_ending=3D[UnURL]%0D%0A[/UnURL][/text]>=20> [sendmail TO=3D[toemail]&FROM=3D[fromemail]&SUBJECT=3DGrocery =Delivery&Content-Type=3Dmultipart/mixed:boundary=3D"--123abc"&MIME-version==3D1.0]>=20>=20> --123abc> Content-Type: text/html;> charset=3DUS-ASCII;> Content-Transfer-Encoding: 7bit;>=20>=20> >=20> > > > Thank you for your inquiry in regards to Maui grocery delivery> at [location] [dates].
> yada, yada, yada.>=20> |
> >=20> --123abc> Content-Type: application/xls;name=3D"DDFullGroceryList.xls";> Content-Transfer-Encoding: base64;> Content-Disposition: attachment;> filename=3D"DDFullGroceryList.xls">=20> [encrypt =method=3Dbase64&file=3DDDFullGroceryList.xls&EMAILFORMAT=3DT][/encrypt][li=ne_ending]> --123abc--> [/sendmail]>=20> Thanks,>=20> Frank>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
FrankMake sure you have a line of space before each boundary.RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 02/06/2013, at 9:03 AM, C. Frank Wolfe wrote:> Hi,> I could sure use another pair of eyes to look at this code.> Older server running 4.5.1.>=20> Please note the colon between Content-Type=3Dmultipart/mixed:boundary, =I am sure that should be a semicolon, but when I use that the eMail =arrives as basically all text with a binary file. Like this:>=20> --123abc> Content-Type: text/html;> charset=3DUS-ASCII;> Content-Transfer-Encoding: 7bit;> etc, etc.>=20> With the colon, it works fine, except for GMail, where I get the =attachment and NO body text at all. I can't find anything that says =GMail does not accept multipart eMails. Wondering if anyone has any =secret knowledge about that one.>=20> I've been looking at this code for days, so anyone see anything else =wrong please let me know. My eyes are burning into the screen.>=20> Full Code:> [text]line_ending=3D[unurl]%0D%0A[/UnURL][/text]>=20> [sendmail TO=3D[toemail]&FROM=3D[fromemail]&SUBJECT=3DGrocery =Delivery&Content-Type=3Dmultipart/mixed:boundary=3D"--123abc"&MIME-version==3D1.0]>=20>=20> --123abc> Content-Type: text/html;> charset=3DUS-ASCII;> Content-Transfer-Encoding: 7bit;>=20>=20> >=20> > > > Thank you for your inquiry in regards to Maui grocery delivery> at [location] [dates].
> yada, yada, yada.>=20> |
> >=20> --123abc> Content-Type: application/xls;name=3D"DDFullGroceryList.xls";> Content-Transfer-Encoding: base64;> Content-Disposition: attachment;> filename=3D"DDFullGroceryList.xls">=20> [encrypt =method=3Dbase64&file=3DDDFullGroceryList.xls&EMAILFORMAT=3DT][/encrypt][li=ne_ending]> --123abc--> [/sendmail]>=20> Thanks,>=20> Frank>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Stuart Tremain
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:
Re: (2000)
RE: [WebDNA] Is there a good file upload script available these days? (2009)
Re2: frames & carts (1997)
WebMerchant -- Sweeping WebDelivery < 24 hrs (2000)
Simple search, perhaps (2002)
passing large amount of text in post form (2005)
Help name our technology! (1997)
japanese characters (1997)
OFF TOPIC - sendmail problem (2003)
weird convertchars behavior (2000)
PCS Frames-Default page is solution! (1997)
simple help (1999)
multiple search commands (1997)
Showing Results Alphabetically in Columns (top to bottom) (2002)
frames & carts (1997)
Sandboxes (2004)
& in Lookups (1997)
best way to test for the existence of a parameter in a url (2003)
Robots fill event log (1997)
Part Html part WebDNA (1997)