Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Emails using clients server?

New Here ,
Jun 25, 2009 Jun 25, 2009

Is there anyway to send emails from our website using the clients email server or email client?  There has to be a way....any ideas?  Thanks in advance!

TOPICS
Server administration
719
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 25, 2009 Jun 25, 2009

I think the client's e-mail address is as good as it gets.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 25, 2009 Jun 25, 2009

If I understand your question correctly then yes, in some cases it

might be possible to send e-mail through the clients email server (see

server, username and password attributes of the cfmail tag). The

client would need to provide the above information to you in order to

send the e-mail and you will pass that to the cfmail tag.

Mack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 26, 2009 Jun 26, 2009

I think I am interpretting the question differently.

Remember that CF is a server side language. It has no knowlege of the surfer's email account settings, etc unless they are PASSED to the server by the client.

If this was possible, can you imagine the havoc that a rogue CF programmer could impose? By merely visiting your page, the end user could send out a ton of email under his own name and server settings without even knowing it. Not a good thing as I am sure you can imagine.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 26, 2009 Jun 26, 2009

Yes that would not a good idea I am sure anybody would agree.

But I interpreted "client" differently then I think you did.  You seem to be using the client in client-server.  And yes it would be very bad for the server to be able to spy on the client in that manner.

I thought of "client" in the client-contractor|programmer|developer relationship.  I.E.  I am writting a program for a client that I will host, is it possible for this client to configure my program to e-mail using his own mail server.

In the latter relationship, it would be fine for a user to do this, and ColdFusion makes it fairly easy to incorperate this type of functionality into a product, if desired.

Hope that clarifies things a little.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 26, 2009 Jun 26, 2009
LATEST

It has no knowlege of the surfer's email account settings, etc unless

they are PASSED to the server by the client.

That's what I said. The server, username and password need to be

provided by the client for this to work.

I'm reading this question like this: "My client wants CF to use the

same e-mail server that my client is using to submit his e-mail." (Why

would he want that ? I don't know.) I'm very well aware of the issues

that you mentioned and I wasn't suggesting simply visiting a page is

enough to automatically send an e-mail using the customer's e-mail

settings.

Mack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources