Solved

cfmail smtpserver problem

Posted on 2001-08-25
8
275 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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php.ini on ipage hosting 12 47
Http to https for only 2 sites and have the rest of the website http 13 49
htaccess restrict subdomain 4 84
CFFILE upload help 98 136
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

12 Experts available now in Live!

Get 1:1 Help Now