Emails sent twice
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32509
interpreted = N
texte = Can anyone tell me why this is sending two emails instead of just one?I have a template for quoting stuff and if [Header24] is T it e-mails theQUOTEComplete.txt file. However, it is sending it TWICE. Can anyone seewhere my problem is at?Thanks!************* Start of QuoteCompleted.tpl*******************[showIf [Header23]=T][writefilesecure=F&file=../../../FAXOUT/[CART].TXT][includeQuotefax.txt][/writefile][/showIf][writefile secure=F&file=/QUOTES/[CART].TXT][includeQuotefax.txt][/writefile][HideIf [Header24]=F][includefile=QUOTEComplete2.txt&v.email=[email]][/HideIf]
Quotation
Quotation
|
Date: [date] Time:[time] Quote #: [CART] Rep: [Rep] |
Bill To | Ship To |
---|
[Header36] | [Header37] |
[Name] | [ShipToName] |
[Address1] [Address2] [CITY], [STATE] [ZIP] | [ShipToAddress1] [ShipToAddress2] [shipToCity],[shipToState] [shipToZip] |
[Phone] | [ShipToPhone] |
[email] | [ShipToemail] |
Payment: [payMethod] |
P.O./C.C. #: [accountNum] Expires: [expMonth] /[expYear] |
Comments: [Header40] |
Your Quotation Contains the Following Items
************* End of QuoteCompleted.tpl******************************** Start of QuoteComplete2.txt*******************[SendMail to=[v.email]&subject=Quotation for [Name] of[Header36]&from=berk@voicenet.com&MIME-Version=1.0&Content-Type=text/html;charset=us-ascii]
Quotation
Quotation
|
Date: [date] Time:[time] Quote #: [CART] Rep: [Rep] |
Bill To | Ship To |
---|
[Header36] | [Header37] |
[Name] | [ShipToName] |
[Address1] [Address2] [CITY], [STATE] [ZIP] | [ShipToAddress1] [ShipToAddress2] [shipToCity],[shipToState] [shipToZip] |
[Phone] | [ShipToPhone] |
[email] | [ShipToemail] |
Payment: [payMethod] |
P.O./C.C. #: [accountNum] Expires: [expMonth] /[expYear] |
Comments: [Header40] |
Your Quotation Contains the Following Items
SKU MFG # | Title Manufacturer | Qty | Price | Ext. |
[lineItems][sku] [mfgnum] | [title] [category] {[lookupdb=Media.db&lookinfield=Media&value=[media]&returnfield=type]}[showIf [textD]!] Note: [textD][/showIf] | [quantity] | $[format thousands .2f][price][/format] | $[format thousands.2f][math][quantity]*[price][/math][/format] |
[/lineItems]Total | $[format thousands.2f][subTotal][/format] |
[ShowIf [GrandTotal]>1000](36 Month FMV Business Leaseavailable for just $[includefile=LeaseRate.inc&Leaseprice=GrandTotal&returnfield=GrandTotal]/permonth*) |
[/ShowIf]
[showif [Header26]=T][/showif][/SendMail]************* End of QuoteComplete2.txt*******************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Can anyone tell me why this is sending two emails instead of just one?I have a template for quoting stuff and if [Header24] is T it e-mails theQUOTEComplete.txt file. However, it is sending it TWICE. Can anyone seewhere my problem is at?Thanks!************* Start of QuoteCompleted.tpl*******************[showIf [Header23]=T][writefilesecure=F&file=../../../FAXOUT/[cart].TXT][includeQuotefax.txt][/writefile][/showIf][writefile secure=F&file=/QUOTES/[cart].TXT][includeQuotefax.txt][/writefile][HideIf [Header24]=F][includefile=QUOTEComplete2.txt&v.email=[email]][/HideIf]Quotation
Bill To | Ship To |
---|
[Header36] | [Header37] |
[Name] | [ShipToName] |
[Address1] [Address2] [CITY], [STATE] [ZIP] | [ShipToAddress1] [ShipToAddress2] [shipToCity],[shipToState] [shipToZip] |
[Phone] | [ShipToPhone] |
[email] | [ShipToemail] |
Payment: [payMethod] |
P.O./C.C. #: [accountNum] Expires: [expMonth] /[expYear] |
Comments: [Header40] |
Your Quotation Contains the Following Items
************* End of QuoteCompleted.tpl******************************** Start of QuoteComplete2.txt*******************[SendMail to=[v.email]&subject=Quotation for [Name] of[Header36]&from=berk@voicenet.com&MIME-Version=1.0&Content-Type=text/html;charset=us-ascii]Quotation
Bill To | Ship To |
---|
[Header36] | [Header37] |
[Name] | [ShipToName] |
[Address1] [Address2] [CITY], [STATE] [ZIP] | [ShipToAddress1] [ShipToAddress2] [shipToCity],[shipToState] [shipToZip] |
[Phone] | [ShipToPhone] |
[email] | [ShipToemail] |
Payment: [payMethod] |
P.O./C.C. #: [accountNum] Expires: [expMonth] /[expYear] |
Comments: [Header40] |
Your Quotation Contains the Following Items
SKU MFG # | Title Manufacturer | Qty | Price | Ext. |
[lineitems][sku] [mfgnum] | [title] [category] {[lookupdb=Media.db&lookinfield=Media&value=[media]&returnfield=type]}[showIf [textD]!] Note: [textD][/showIf] | [quantity] | $[format thousands .2f][price][/format] | $[format thousands.2f][math][quantity]*[price][/math][/format] |
[/lineItems]Total | $[format thousands.2f][subTotal][/format] |
[ShowIf [GrandTotal]>1000](36 Month FMV Business Leaseavailable for just $[includefile=LeaseRate.inc&Leaseprice=GrandTotal&returnfield=GrandTotal]/permonth*) |
[/ShowIf]
[showif [Header26]=T][/showif][/SendMail]************* End of QuoteComplete2.txt*******************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
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:
Multiple prices (1997)
Re[2]: Price Not Appearing [LONG] (2000)
Nav. 4 probs with cart - Serious problem (1997)
redirect with frames (1997)
Quit revisited (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
emailer on Windows Beta 18 (1997)
RE: Error -108 (1997)
webcat nt (1997)
SMITH MICRO: FW: Emailer stops on Win 2000 (2002)
UnitShipCost, Formulas.db and passwords (2003)
Fun with dates (1997)
sort problems....bug or brain fart? (1997)
Re2: frames & carts (1997)
WebCommerce: Folder organization ? (1997)
reserved characters for field names? (1998)
process SSI (1998)
Feature req. (2002)
Add a field to the error log? (1997)
Maybe off topic but how to charge (1997)