Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Indy idSMTP - Can we use idSMTP.Username without domain address



Permlink Replies: 1 - Last Post: Nov 18, 2015 12:48 PM Last Post By: Remy Lebeau (Te...
karthik thirumo...

Posts: 23
Registered: 9/26/13
Indy idSMTP - Can we use idSMTP.Username without domain address
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 17, 2015 11:06 PM
Hello,
I'm using Indy version 10 , Is it possible to give idSMTP.Username like 'myname' instead of 'myname at abc dot com' (ex : "support" instead of "support at embarcadero dot com")??

if it's possible, can you please give me some example to understand ??
It's very urgent issue right not now i'm facing , please help me to solve this issue.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Indy idSMTP - Can we use idSMTP.Username without domain address
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 18, 2015 12:48 PM   in response to: karthik thirumo... in response to: karthik thirumo...
karthik wrote:

I'm using Indy version 10 , Is it possible to give idSMTP.Username
like 'myname' instead of 'myname at abc dot com' (ex : "support"
instead of "support at embarcadero dot com")??

That is entirely dependent on the SMTP server's requirement. Some servers
allow only a username by itself, some servers require a username and domain.
TIdSMTP does not impose a restriction on the valu of the Username property,
it is just a general String passed as-is to the server. The server interprets
the value, not Indy.

It's very urgent issue right not now i'm facing , please help me to
solve this issue.

You need to consult your SMTP server's documentation. This is not an Indy
issue.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02