Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Do you have to use an email client in order to send emails?

Guest
Dec 16, 2010 Dec 16, 2010

Do you have to use an email client in order to send emails?

I am in the process of writing code to test some sample emails.  However, I wanted to use Gmails" SMTP to send emails, but it is asking me for an email client.  I currently do not have permission to the email client and I do not have administrative privileges to download software on this desktop.

Please provide me with any assistance or other suggestion on my testing emails for my application I am developing?

Best regards,

garjuyen1107

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 16, 2010 Dec 16, 2010

No, I don't think so.

I am not sure what it is asking for?  Are you sure your gmail has been configured to allow messages to be posted to it?  I have never done it, but I have read many places that others have, I recall these sources mentioning that a default GMAIL configuraiton does not allow ColdFusion to send messages to them.  That you have to configure something in GMAIL for it to accept the SMTP requests.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

THanks for the reply. You are absolute right and I tried to configure my GMAIL account to allow me to send emails to it using the various articles I found online and information I found at Gmail.  But I am far from an expert when it comes to these things, so I could be doing something wrong when I try to configure in Coldfusion 9. Here is what I have input under the Mail Setting in my Coldfusion Administrator and Gmail Settings:

If you look under POP for Gmail Settings, has a link for Configure Email Client

Configuring Mail Server Settings1.JPG

Configuring Mail Server Settings2.JPG

Configuring Mail Server Settings3.JPGConfiguring Gmail Settings.JPG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

Can you just skip the client configuration portions of that page? It  looks like you could do that.

Have you tried verifying your mail server connection in the CF Administrator? Does it verify? If it does, have you tried sending a message using CFMAIL?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

Yes. I have skip that part of the configurating to a email client.  I have verify the connection and it has failed several times. I have also tried to send emails, and the emails remind in the Undeliverable email section of the Coldfusion Administrator.

I do not know what else to do? I was think that there was some sort of WebMail to use just for the purpose of testing emails that I only have to use within a browser and would not have to install any software. Please advise.

Thanks!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

I just set mine up for gmail and it was able to verify. I do NOT have the "Sign" checkbox turned

on, and I set mine to use Port 465 though. The rest of my settings are the same as yours.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

Ok. I changed it to the 465 port  It tells me that my connection has failed again. Were you able to look at my gmail settings? Is that set-up properly?

Could there be another place in my Coldfusion Administrator that needs to be also set up in conjunction with the Mail Server?

Were you able to receive emails at the gmail account?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

I just did a test and the mail was successfully sent.

Did you uncheck the "Sign" checkbox? When I turned that on, my connection would verify, but the mail would not be sent. Also, have you tried re-entering your gmail password? Perhaps you have a typo/error there?

Your settings on your gmail account page appear to be set the same as mine...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

So, you have not configurated any email client at all? No, Microsoft Outlook? 

My password is the same. I tried again and connection stilled failed. Could it be my Server Settings?

I have a pdf version of my current Server Settings I would like to post, but I want to attach it as a file. Is this possible?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

When I did my first test, it was with my copy of CF installed on my local workstation, which does have Outlook installed. I just tried again on a new server I'm building, which definitely does not have any mail clients installed, and the test worked from there as well.

I'm not sure about attaching files. I don't see any option for doing that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

Have you checked the mail.log file to see if any error information is being written there?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

That is certainly strange. I believe it is the Server Settings.  Now, should I have my full domain name under username. for example, I have listed siamadu@gmail.com as the user. SHould it be siamadu instead? Are you using Coldfusion 9?

I am really trying hard to trouble shoot this thing. I apologize for the silly questions? I was able to cut and paste a copy of Summary Settings


System Information
Server Details
Server ProductColdFusion
Version9,0,1,274733 
EditionDeveloper 
Operating SystemWindows XP 
OS Version5.1 
Adobe Driver Version4.0 (Build 0005)     

Server Information

General Settings
Timeout requestsYes 
Enable Per App SettingsYes 
Request Time Limit60 seconds
Use UUID for CFTokenNo 
Enable Whitespace ManagementYes 
Disable Service FactoryNo 
Protect serialized JSONNo 
Protect Serialized JSON Prefix// 
Missing Template Handler
Site-wide Error Handler
Enable HTTP status codesYes 
Enable Global Script ProtectionYes 
Default CFForm ScriptSrc Directory/CFIDE/scripts/ 
Google Map Key
Maximum size of post data100 MB
Request Throttle Threshold4 MB
Request Throttle Memory200 MB
Request Tuning
Simultaneous request limit10 
Flash Remoting request limit
Web Service request limit
CFC request limit10 
CFThread Pool Size10 
Maximum number of report threads
Request Queue Timeout60 seconds
Request Queue Timeout Page
Maximum number of running JRun threads50 
Maximum number of queued JRun threads1000 
Caching
Template cache size1024 templates
Enable trusted cacheNo 
Cached query limit100
Save Class FilesYes 
Cache web server pathsNo
Client Variable Settings
Default client variable storeRegistry 
Client Stores
Registry 
TypeREGISTRY 
DescriptionSystem registry. 
Purge data after time limitYes 
Time limit90 days
Disable global updatesNo 
Cookie 
TypeCOOKIE 
DescriptionClient based text file. 
Purge data after time limitYes 
Time limit10 days
Disable global updatesNo 
Memory Variables
J2EE SessionsNo 
Application Variables
Enable Application VariablesYes 
Default Timeout2,0,0,0 
Maximum Timeout2,0,0,0 
Session Variables
Enable session variablesYes 
Default Timeout0,0,20,0 
Maximum Timeout2,0,0,0 
ColdFusion Mappings
/gateway  C:\ColdFusion9\gateway\cfc 
/CFIDE  C:\ColdFusion9\wwwroot\CFIDE 
Mail Connection Settings
Default Server Port465 
Connection Timeout60 seconds
Spool Interval15 seconds
Mail Delivery Threads10 
Maintain Connection to Mail ServerNo 
Spool Messages Todisk
Max Messages Spooled to Memory50000 
Default CFMail CharsetUTF-8 
Use SSL ConnectionYes 
Use TLSYes 
Default Mail Server
smtp.gmail.com 
Serversmtp.gmail.com 
Port465 
Usernamesiamadu@gmail.com 
Passwordnot shown 
Mail Logging Settings
Log Severitywarning 
Log all E-mail messages sent by ColdFusionNo     

Event Gateways
Settings
Enable Event GatewayYes 
Thread Pool Size
Max Queue Size10 
Gateway Types
SMS 
DescriptionHandles SMS text messaging 
Classcoldfusion.eventgateway.sms.SMSGateway 
Timeout30 seconds 
Kill On TimeoutYes 
XMPP 
DescriptionHandles XMPP instant messaging 
Classcoldfusion.eventgateway.im.XMPPGateway 
Timeout30 seconds
Kill On TimeoutYes 
SAMETIME 
DescriptionHandles Lotus SAMETIME instant messaging 
Classcoldfusion.eventgateway.im.SAMETIMEGateway 
Timeout30 seconds 
Kill On TimeoutYes 
DirectoryWatcher 
DescriptionWatches a directory for file changes 
Classexamples.watcher.DirectoryWatcherGateway 
Timeout30 seconds
Kill On TimeoutYes 
Socket 
DescriptionListens on a socket 
Classexamples.socket.SocketGateway 
Timeout30 seconds 
Kill On TimeoutYes 
CFML 
DescriptionHandles asynchronous events through CFCs 
Classcoldfusion.eventgateway.cfml.CfmlGateway 
Timeout30 seconds
Kill On TimeoutYes 
JMS 
DescriptionHandles Java Messaging Service messages 
Classexamples.JMS.JMSGateway 
Timeout30 seconds 
Kill On TimeoutYes 
ActiveMQ 
DescriptionHandles Apache ActiveMQ JMS messages 
Classexamples.ActiveMQ.JMSGateway 
Timeout30 seconds
Kill On TimeoutYes 
DataServicesMessaging 
DescriptionHandles Data Services Messaging messages 
Classcoldfusion.eventgateway.flex.FlexMessagingGateway 
Timeout30 seconds 
Kill On TimeoutNo 
FMS 
DescriptionHandles Flash Media Server shared objects 
Classcoldfusion.eventgateway.fms.FMSGateway 
Timeout30 seconds
Kill On TimeoutYes 
DataManagement 
DescriptionNotifies Data Management Services of data changes 
Classcoldfusion.eventgateway.flex.FlexDataManagementGateway 
Timeout30 seconds 
Kill On TimeoutYes 

Security
CF Admin Authentication
Enable authentication for the ColdFusion AdministratorYes 
Allow access to ColdFusion Administrator with a Single passwordYes 
RDS Authentication
Enable authentication for RDS accessYes 
Allow access through RDS with Single passwordYes 
Security Sandboxes
Enable ColdFusion SecurityNo 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2010 Dec 16, 2010

Everything looks ok to me in your settings. You're correct in using your full email address. My first test was on CF 7 and the second test was on CF 9.0.1.

Is there perhaps a firewall or something else on your network that might be blocking that traffic?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010

There could possibly a firewall blocking the traffic. I am looking into now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 16, 2010 Dec 16, 2010
LATEST

I will tried to download CF 9 on another computer and see if I can setup the Gmail with that computer. If I can, then I know it is the firewall issue. If I cannot, then it will problem be my CF settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources