Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

cfmail smtpserver problem

Posted on 2001-08-25
8
278 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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 65 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

807 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