Skip to main content
December 16, 2010
Question

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

  • December 16, 2010
  • 1 reply
  • 2059 views

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

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    December 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.

    December 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

    December 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.


    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