[WebDNA] Multi Part SendMail
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110412
interpreted = N
texte = Hi,I could sure use another pair of eyes to look at this code.Older server running 4.5.1.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:--123abcContent-Type: text/html;charset=3DUS-ASCII;Content-Transfer-Encoding: 7bit;etc, etc.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.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.Full Code:[text]line_ending=3D[UnURL]%0D%0A[/UnURL][/text][sendmail TO=3D[toemail]&FROM=3D[fromemail]&SUBJECT=3DGrocery =Delivery&Content-Type=3Dmultipart/mixed:boundary=3D"--123abc"&MIME-version==3D1.0]--123abcContent-Type: text/html;charset=3DUS-ASCII;Content-Transfer-Encoding: 7bit;
Thank you for your inquiry in regards to Maui grocery deliveryat [location] [dates].
yada, yada, yada. |
--123abcContent-Type: application/xls;name=3D"DDFullGroceryList.xls";Content-Transfer-Encoding: base64;Content-Disposition: attachment;filename=3D"DDFullGroceryList.xls"[encrypt =method=3Dbase64&file=3DDDFullGroceryList.xls&EMAILFORMAT=3DT][/encrypt][li=ne_ending]--123abc--[/sendmail]Thanks,Frank
Associated Messages, from the most recent to the oldest:
Hi,I could sure use another pair of eyes to look at this code.Older server running 4.5.1.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:--123abcContent-Type: text/html;charset=3DUS-ASCII;Content-Transfer-Encoding: 7bit;etc, etc.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.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.Full Code:[text]line_ending=3D[unurl]%0D%0A[/UnURL][/text][sendmail TO=3D[toemail]&FROM=3D[fromemail]&SUBJECT=3DGrocery =Delivery&Content-Type=3Dmultipart/mixed:boundary=3D"--123abc"&MIME-version==3D1.0]--123abcContent-Type: text/html;charset=3DUS-ASCII;Content-Transfer-Encoding: 7bit;Thank you for your inquiry in regards to Maui grocery deliveryat [location] [dates].
yada, yada, yada. |
--123abcContent-Type: application/xls;name=3D"DDFullGroceryList.xls";Content-Transfer-Encoding: base64;Content-Disposition: attachment;filename=3D"DDFullGroceryList.xls"[encrypt =method=3Dbase64&file=3DDDFullGroceryList.xls&EMAILFORMAT=3DT][/encrypt][li=ne_ending]--123abc--[/sendmail]Thanks,Frank
"C. Frank Wolfe"
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:
Questions on Mac WC 3.0.5b13 (2000)
carriage returns in data (1997)
[SHOWIF AND/OR] (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
Digest for 4/18/97 (1997)
Snake Bites (1997)
[WebDNA] Need someone to port CakePHP auction site to WebDNA (2010)
Mac Lockup Problems (1998)
PSC recommends what date format yr 2000??? (1997)
Shownext! (1998)
Search returns all, not 20 (1997)
Word search (1997)
[showif],[refferer],[include] in errormessages.db (2002)
WebCat2.0 [format thousands .0f] no go (1997)
Math (1997)
Resetting a Formvariable (2000)
Frames and WebCat (1997)
Hard Questions ? (1997)
Emailer (1997)
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)