[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:
Running _every_ page through WebCat-error.html (1997)
OT: Test ignore (2003)
Quit revisited (1997)
Re:WebCat Talk Arhives... (1998)
Displaying photo attached to first record (1997)
Multiple cart additions (1997)
[ShowNext] (1997)
SiteGuard Admin Feature ? (1997)
Checkboxes (1997)
Variable Sizes, Widths and Colors (2000)
Lookup Notfound (1998)
Pithy questions on webcommerce & siteedit (1997)
Frames and WebCat (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
[DOS]/DOS query perhaps OT (2003)
Bug Report, maybe (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
Javascript/WebCatalog form population (2001)
slightly OT: advertising schemes (2004)
Now when I send TeaRoom Order fields it does not post in Invoice. (1997)