S
Summerhouseofyolo.org
I am sending the results from a form to myself, and would like the name
to be formatted as entered. I have noticed that they myMail.From
command does not work unless the input is formatted to have no spaces.
My code for the mail looks like this:
xformatname = replace(xname," ","_")
Set myMail=CreateObject("CDONTs.NewMail")
myMail.Subject="Raffle Tickets Purchased"
myMail.From=xformatname
myMail.To="(e-mail address removed)"
myMail.Body=xbody
myMail.Send
set myMail=nothing
It seems like there must be a way to format the From field to use
spaces, but I can't figure it out.
Thanks in advance!
Greg @ Summer House
to be formatted as entered. I have noticed that they myMail.From
command does not work unless the input is formatted to have no spaces.
My code for the mail looks like this:
xformatname = replace(xname," ","_")
Set myMail=CreateObject("CDONTs.NewMail")
myMail.Subject="Raffle Tickets Purchased"
myMail.From=xformatname
myMail.To="(e-mail address removed)"
myMail.Body=xbody
myMail.Send
set myMail=nothing
It seems like there must be a way to format the From field to use
spaces, but I can't figure it out.
Thanks in advance!
Greg @ Summer House