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:
multi-paragraph fields (1997)
WebCat b15 Mac plug-in (1997)
Re:E-Mailer (WebCatb15acgiMac) (1997)
FCKeditor (2008)
Custom Error Pages - what I've done (1998)
Trying to evaluate data that is stored in an indexed variable... (2000)
Changing buttons (1999)
Looking up two prices in database? (1997)
Nesting WebDNA in JavaScript (2003)
Using Plug-In while running 1.6.1 (1997)
HELP WITH DATES (1997)
Signal Raised (1997)
Webcatalog server support (1997)
ErrorMessages.db suggestion (1997)
PCS Emailer's role ? (1997)
WebDNAdev.net Widget (2003)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Help name our technology! (1997)
[WebDNA] Please send hosting details (2009)
Searching for (field1 OR field2) AND field3 (2000)