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:
2.0 Info (1997)
Wrapping text (1998)
suffix mapping for NT? (1997)
Running a store on BOTH http and https (1998)
WC2b15 File Corruption (1997)
Comments in db? (1997)
problems with 2 tags (1997)
RE: complete escaped ascii chart - importing and exporting files question (1998)
RE: type 2 errors with ssl server (1997)
WebCat2 several catalogs? (1997)
[cart] not being interpreted inside [founditems] (1997)
Shipcost formula (2004)
Switching To NT (1999)
4.5 on Apache 2 (2005)
Shop till you drop dead on the avenue ... (1997)
RE: E-mailer error codes (1997)
Multiple prices (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Sendmail & Time Issue (2001)
RAM crash (1998)