Re: [WebDNA] Problem with Sendmail
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108848
interpreted = N
texte = > I'm using sendmail for my clients newsletter, up to now every thing =was going fine.> But it looks like some email arrives with nothing in it, but some =arrive fine.> the same email send to my gmail address and send to somebody else =address at the same time don't look the same.>=20> Here is my code>=20> [sendmail MIME-Version=3D1.0[!]> [/!]&Subject=3D_MY SUBJECT__[!]> [/!]&from=3DEMAIL SENDER
> [/!]&to=3D[DELIVERY_TO][!]> [/!]&date=3D[DATE format=3D%a, %d %b %Y %X +0100 (CET)][!]> [/!]&Content-Type=3Dmultipart/alternative;[!]> [/!] boundary=3D"--Boundary_[cart]"]> ----Boundary_[cart]> Content-Type: text/plain; charset=3D"UTF-8";> Content-transfer-encoding: quoted-printable[unurl]%0D%0A[/unurl]> [Text_message]>=20> ----Boundary_[cart]> Content-Type: text/html; charset=3D"UTF-8";> Content-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]>=20> [MYHTML_comes_here]>=20> ----Boundary_[cart]> [/sendmail]>=20> If some body can tell me what's wrong?Hi LawrenceI din't know what is happening, but try this:wrap your sendmail parameter values in [url]...[/url], in case =[DELIVERY_TO] (for example) has an "&" (or other unexpected) character =in it.. (something that would then mess up the remainder of the headers =and cause unexpected results).Also, in your above-posted code, I now see that you are missing the =starting [!] just after the "".Try this:[sendmail MIME-Version=3D1.0[!][/!]&Subject=3D_MY SUBJECT__[!][/!]&from=3DEMAIL SENDER[!][/!]&to=3D[url][DELIVERY_TO][/url][!][/!]&date=3D[DATE format=3D%a, %d %b %Y %X +0100 (CET)][!][/!]&Content-Type=3Dmultipart/alternative;[!][/!] boundary=3D"--Boundary_[cart]"]----Boundary_[cart]Content-Type: text/plain; charset=3D"UTF-8";Content-transfer-encoding: quoted-printable[unurl]%0D%0A[/unurl][Text_message]...If this does not fix things.. then I have other ideas for =troubleshooting, and so may others.. so repost again if still stuck.-Govinda
Associated Messages, from the most recent to the oldest:
> I'm using sendmail for my clients newsletter, up to now every thing =was going fine.> But it looks like some email arrives with nothing in it, but some =arrive fine.> the same email send to my gmail address and send to somebody else =address at the same time don't look the same.>=20> Here is my code>=20> [sendmail MIME-Version=3D1.0[!]> [/!]&Subject=3D_MY SUBJECT__[!]> [/!]&from=3DEMAIL SENDER> [/!]&to=3D[DELIVERY_TO][!]> [/!]&date=3D[DATE format=3D%a, %d %b %Y %X +0100 (CET)][!]> [/!]&Content-Type=3Dmultipart/alternative;[!]> [/!] boundary=3D"--Boundary_[cart]"]> ----Boundary_[cart]> Content-Type: text/plain; charset=3D"UTF-8";> Content-transfer-encoding: quoted-printable[unurl]%0D%0A[/unurl]> [Text_message]>=20> ----Boundary_[cart]> Content-Type: text/html; charset=3D"UTF-8";> Content-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl]>=20> [MYHTML_comes_here]>=20> ----Boundary_[cart]> [/sendmail]>=20> If some body can tell me what's wrong?Hi LawrenceI din't know what is happening, but try this:wrap your sendmail parameter values in [url]...[/url], in case =[DELIVERY_TO] (for example) has an "&" (or other unexpected) character =in it.. (something that would then mess up the remainder of the headers =and cause unexpected results).Also, in your above-posted code, I now see that you are missing the =starting [!] just after the "".Try this:[sendmail MIME-Version=3D1.0[!][/!]&Subject=3D_MY SUBJECT__[!][/!]&from=3DEMAIL SENDER[!][/!]&to=3D[url][DELIVERY_TO][/url][!][/!]&date=3D[DATE format=3D%a, %d %b %Y %X +0100 (CET)][!][/!]&Content-Type=3Dmultipart/alternative;[!][/!] boundary=3D"--Boundary_[cart]"]----Boundary_[cart]Content-Type: text/plain; charset=3D"UTF-8";Content-transfer-encoding: quoted-printable[unurl]%0D%0A[/unurl][Text_message]...If this does not fix things.. then I have other ideas for =troubleshooting, and so may others.. so repost again if still stuck.-Govinda
Govinda
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:
Location of Browser Info.txt file (1997)
TCPConnect / Current Temperature (2004)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
Where is the bug fix info for 4.0.1? (2000)
unsubscribe (1997)
countdown to date (2003)
did I miss anything (1997)
WebTen and WebCat (1997)
FW: ANother SHOWIF problem (1997)
Download (1999)
No spaces allowed in text variable names ... ? (2002)
web delivery (1997)
Moment of Thanks (1997)
How to find 100 most recent additions. (1997)
Multiple Pulldowns (1997)
So Simple (2005)
Signal Raised Error (Part II) (1997)
[WebDNA] Downloadable docs (2011)
carriage returns in data (1997)
Bug Report, maybe (1997)