Solved

cfmail smtpserver problem

Posted on 2001-08-25
8
274 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
 

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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now