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:
WebCatalog as a ListServ (1998)
Dark Horse Comics success story (1997)
Car Database (2002)
SKU Question (1999)
Possible Problem with Safari and Carts (2003)
variables in template (2000)
FYI: virus alert (1996)
acrobat -> wc (1998)
USPS change to SSL tcpconnect (2007)
maximu values for sendmail! (1997)
Banners (1997)
Problems with shopping cart (1997)
docs for WebCatalog2 (1997)
webcatalog approaching max (1998)
problems with 2 tags (1997)
WebCatalog Use Question (1997)
WebTen? (1997)
Date Range search (1997)
Deleteing Based On Dates (2002)
Bug Report, maybe (1997)