Normal Topic More Personal Email address (Read 893 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
More Personal Email address
May 15th, 2011 at 2:55am
Print Post Print Post  
In order to make it more personal, if I enter email in any of the following format they fail.. Error 4 or Error 3

"John Doe <JohnDoe@anyserver.com>"

"John Doe" <JohnDoe@anyserver.com>

What is correct format? According to Manual, it is the first one but I am getting error.  I have tried following:

var vEmail as String

vEmail = FirstName + " " + LastName + " <" + Email + ">"

or

vEmail = @Chr (34) +  FirstName + " " + LastName + " <" + Email + ">" + @Chr (34)

Both of them give Error 4

If I do not personalize, @Sendmail ( ) command works fine.

What am I doing wrong?

« Last Edit: May 15th, 2011 at 10:14am by Bharat_Naik »  
Back to top
 
IP Logged
 
Rick_R
Full Member
***
Offline



Posts: 243
Joined: Jan 29th, 2010
Re: More Personal Email address
Reply #1 - May 15th, 2011 at 9:17pm
Print Post Print Post  
I believe the correct syntax is with quotes around the name, which neither of those strings will generate:
"John Doe" <JohnDoe@anyserver.com>

Try: vEmail = @Chr (34) +  FirstName + " " + LastName + @Chr (34)  + " <" + Email + ">"

Also, does it fail if you only add "<" and ">" to the email address?
  
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: More Personal Email address
Reply #2 - May 16th, 2011 at 3:52am
Print Post Print Post  
No luck with either of them.  Sad
  
Back to top
 
IP Logged
 
Ben
Lantica Support
*****
Offline



Posts: 218
Joined: Apr 7th, 2005
Re: More Personal Email address
Reply #3 - May 16th, 2011 at 5:59pm
Print Post Print Post  
Bharat -
Thank you for letting us know about this. We are looking into the issue and will pass the information along to development.
  
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: More Personal Email address
Reply #4 - May 16th, 2011 at 7:53pm
Print Post Print Post  
Thanks Ben.
  
Back to top
 
IP Logged