Solved

cfmail smtpserver problem

Posted on 2001-08-25
8
276 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Website Test Question 6 115
Problem to Eclipse 16 125
Help with a redirect in web.config file 8 42
DNS @ Naked Domain Record 5 84
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…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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