Author |
|
iconbill Valued Community Member
Joined: 07 March 2007 Location: Netherlands
Online Status: Offline Posts: 76
|
Posted: 25 April 2007 at 7:52am | IP Logged
|
|
|
Hello,
I have this code:
strFromName = "name"
strFromEmail = "info@mydomain.com"
Mailer.Message.FromAddr = strFromName & "<" & strFromEmail & ">"
In this case there is no problem off course.
Let's now include '(' , ')' and '@' in the from name , then this code is not working good anymore. Example:
strFromName = " my name (bladibla@email.com) "
strFromEmail = "info@mydomain.com"
My question/problem:
How can I make it possible for get the fromNAME: 'my name (bladibla@email.com)' ???
Or do I have always to remove the '(', ')' and '@' from FROMNAMES ?
Thank you for replyes!
Marco Smeets
|
Back to Top |
|
|
oleg AfterLogic Support
Joined: 11 April 2007 Location: United States
Online Status: Offline Posts: 21
|
Posted: 25 April 2007 at 10:14am | IP Logged
|
|
|
You need to embrace the strFromName in quotes if you want to use symbols like '(', ')' and '@':
strFromName = """my name (bladibla@email.com)"""
Best regards,
Oleg
|
Back to Top |
|
|
iconbill Valued Community Member
Joined: 07 March 2007 Location: Netherlands
Online Status: Offline Posts: 76
|
Posted: 03 May 2007 at 2:33am | IP Logged
|
|
|
ok, thank you very much!
|
Back to Top |
|
|