Re: [WebDNA] Problem with Sendmail
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108850
interpreted = N
texte = Hi Lori! no, but you are right to point this out: the 'From:' address =should be a real address with a real domain, otherwise most SMTP servers =will just reject the mail.- chrisOn Mar 15, 2012, at 14:45, Lori Palmquist wrote:> Does it matter that "adress" is misspelled?> =20> Lori>=20>=20> From: Govinda
> To: talk@webdna.us> Sent: Thu, March 15, 2012 7:06:19 AM> Subject: Re: [WebDNA] Problem with Sendmail>=20> > 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?>=20> Hi Lawrence>=20> I din't know what is happening, but try this:>=20> 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).>=20> Also, in your above-posted code, I now see that you are missing the =starting [!] just after the "".>=20> Try this:>=20> [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]> ...>=20> If this does not fix things.. then I have other ideas for =troubleshooting, and so may others.. so repost again if still stuck.>=20> -Govinda>=20>=20
Associated Messages, from the most recent to the oldest:
Hi Lori! no, but you are right to point this out: the 'From:' address =should be a real address with a real domain, otherwise most SMTP servers =will just reject the mail.- chrisOn Mar 15, 2012, at 14:45, Lori Palmquist wrote:> Does it matter that "adress" is misspelled?> =20> Lori>=20>=20> From: Govinda > To: talk@webdna.us> Sent: Thu, March 15, 2012 7:06:19 AM> Subject: Re: [WebDNA] Problem with Sendmail>=20> > 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?>=20> Hi Lawrence>=20> I din't know what is happening, but try this:>=20> 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).>=20> Also, in your above-posted code, I now see that you are missing the =starting [!] just after the "".>=20> Try this:>=20> [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]> ...>=20> If this does not fix things.. then I have other ideas for =troubleshooting, and so may others.. so repost again if still stuck.>=20> -Govinda>=20>=20
christophe.billiottet@webdna.us
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:
Formating Tables w/[founditems] (1998)
Need help with emailer- 2 issues (1997)
Robert Minor duplicate mail (1997)
Template Cache problem (2000)
combine search (1998)
Order not created error (1997)
RE: Include (1998)
What about that Cc and Bcc bug? (2000)
Error Lob.db records error message not name (1997)
Error Lob.db records error message not name (1997)
Next X hits (1996)
searching illegal HTML (2002)
Format question WC Mac f3 (1997)
Multiple 'Users.db' files not possible (1997)
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
New public beta available (1997)
Sticky .inc file! (2008)
[WebDNA] [grep] bug Crashes WebDNA 6.2 (2014)
Password protection (Was: Lost Password?) (2002)
Convert Chars Q (2000)