Shop OBEX P1 Docs P2 Docs Learn Events
PINK Question — Parallax Forums

PINK Question

Brian CarpenterBrian Carpenter Posts: 728
edited 2006-03-14 05:12 in General Discussion
So this is the code to send an email out of the PINK.....
 
' PINK_05.bs2

' {$STAMP BS2}
' {$PBASIC 2.5}
SEROUT 8,396,[noparse][[/noparse]"!NB0WET:null@parallax.com",CLS]
SEROUT 8,396,[noparse][[/noparse]"!NB0WEF:PINKmodule@parallax.com",CLS]
SEROUT 8,396,[noparse][[/noparse]"!NB0WES:This is a test message from PINK.",CLS]
SEROUT 8,396,[noparse][[/noparse]"!NB0WEC:message.txt",CLS]
SEROUT 8,396,[noparse][[/noparse]"!NB0WEV:your.SMTP.server.address.here",CLS]
SEROUT 8,396,[noparse][[/noparse]"!NB0SM"]
END
I have some variables that will be sent over by the BS2 that need to be displayed in the header line for email parsing.· How would i get these two variables into the text?
SEROUT 8,396,[noparse][[/noparse]"!NB0WES:Trigger Me  Cardcode:(var1), Location:(var2).",CLS]
 


this is where i would like the variables in the text.· Any ideas would be vary appreciated.

Post Edited By Moderator (Chris Savage (Parallax)) : 3/14/2006 5:22:01 AM GMT
Sign In or Register to comment.