Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Multiple address problem (names vs email) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
iconbill
Valued Community Member
Valued Community Member


Joined: 07 March 2007
Location: Netherlands
Online Status: Offline
Posts: 76
Posted: 25 April 2007 at 7:52am | IP Logged Quote iconbill

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 View iconbill's Profile Search for other posts by iconbill
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 25 April 2007 at 10:14am | IP Logged Quote oleg

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 View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
iconbill
Valued Community Member
Valued Community Member


Joined: 07 March 2007
Location: Netherlands
Online Status: Offline
Posts: 76
Posted: 03 May 2007 at 2:33am | IP Logged Quote iconbill

ok, thank you very much!
Back to Top View iconbill's Profile Search for other posts by iconbill
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide