Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

cfmail smtpserver problem

Posted on 2001-08-25
8
Medium Priority
?
285 Views
Last Modified: 2013-12-24
hai, everyone! i had a problem in using CFMail.
if use CFmail, the smtpserver is a required field.

let say my customer can log into my server, and they had their particulars
including e-mail. once they want to mail to me, i plan to use cfmail.
but for cfmail, it needs the smtpserver
in order to send mail, what if my customer don't understand this,
they didn't provide me the smtpserver, then cfmail will definately
not working.

how to solve this kind of problem?
(i am planning not to use mailto)
0
Comment
Question by:J2J
  • 5
  • 2
8 Comments
 
LVL 5

Expert Comment

by:harwantgrewal
ID: 6427953
Use any other smtp server give the address of that sserver

Harry
0
 

Author Comment

by:J2J
ID: 6430834
err..but customer's email they not really know about the smtp server. if they use this kind of email, how can they mail to me? for example, yahoo mail. what is the smtpserver?
0
 

Expert Comment

by:tomfuentes
ID: 6437969
It doesn't matter what SMTP server you are using to send mail out.  As long as the SMTP server isn't set up to block email forwarding (Which many are now) you can pass email through them out to their destination.  You don't have the customer set the SMTP server, you set it in the code to whatever SMTP server you want to use.  If there is one running on the server that the Cold Fusion code is running on, you might try that one first.
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 

Author Comment

by:J2J
ID: 6440770
let say customer login into my page, then they need to  send mail to me.
i use cfmail. so they need to have my email, their email, and their smtpserver,
isn'y it?
0
 

Accepted Solution

by:
tomfuentes earned 260 total points
ID: 6440831
<cfmail to="My_Email_Hard_Coded" from="#form.TheirEmailFromForm#" subject="#form.TheirSubjectFromForm#" server="My_SMTP_Server_Hard_Coded">
#form.TheMessageFromForm#
</cfmail>
0
 

Author Comment

by:J2J
ID: 6443377
i get what u mean now, so silly i didn't think of this :P

hmm, there is one more problem,
is there anyway to notify me that i am currently offline,
bcos if i am offline, i will never know that my mail has been send using
cfmail or not.
nothing show up to state whether success or not.

can any function to prompt up message to tell me that
i need to connect online??
and will the mail be buffer if  i am offline?
0
 

Author Comment

by:J2J
ID: 6443466
is there any mail server which isn't set up to block email forwarding?

i have try my own, but bcos mine is not a server, just a client which obtain mail service from isp, so unable to do so.  :(
0
 

Author Comment

by:J2J
ID: 6470259
nvm, thanks tomfuentes, i will find my own.bye.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question