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:
Progress !! WAS: Trouble with formula.db (1997)
Spreadsheet Interface. (1998)
[WebDNA] High-profile WebDNA sites? (2008)
Mac v. NT (1998)
More than one db with the same namn (was: WC2f3) (1997)
no [search] with NT (1997)
Emailer update for Mac? (1998)
Time Tracking (2003)
Comments in db? (1997)
Bug when including a db file ... ? (2000)
Multithreading of [replace] (1999)
Running 2 two WebCatalog.acgi's (1996)
how many users (2000)
form data submission gets truncated (1997)
TCP Connect (2000)
Updating Integer value in DB (2007)
More than one db with the same namn (was: WC2f3) (1997)
Email encryption (1998)
Changes to [ReturnRaw] in 3.0 (1998)
[WebDNA] File uploads using WebDNA (2010)