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

Cold fusion Mailing feature

New Here ,
Sep 18, 2008 Sep 18, 2008

Copy link to clipboard

Copied

I dont have an exchange server setup. I want to provide the mailing facility in one of my tool, which is used by members connected through LAN. I tried using 127.0.0.1 as the server but it did not work for my local system also.
Please provide me the means by which i can accomplish this.
TOPICS
Advanced techniques

Views

1.7K

Translate

Translate

Report

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
LEGEND ,
Sep 18, 2008 Sep 18, 2008

Copy link to clipboard

Copied

what kind of 'mailing facility' are you talking about?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Sep 19, 2008 Sep 19, 2008

Copy link to clipboard

Copied

I just have to send notification through mail to members email id.

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 19, 2008 Sep 19, 2008

Copy link to clipboard

Copied

sachin_td wrote:
> I just have to send notification through mail to members email id.

You must have an email sever, any will do. ColdFusion does not do that
actual emailing it passes this on to the configured email server.

Votes

Translate

Translate

Report

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
New Here ,
Sep 22, 2008 Sep 22, 2008

Copy link to clipboard

Copied

can i use gmail as my mailing server. Since it will not be possible to setup my own email server in the organization.

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 22, 2008 Sep 22, 2008

Copy link to clipboard

Copied

if you are on CF8, then yes, it will. prior cf versions do not have
necessary TSL encryption support to use gmail as mail server.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Sep 23, 2008 Sep 23, 2008

Copy link to clipboard

Copied

since i am using cf mx... then what could be the solution to my problem

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 23, 2008 Sep 23, 2008

Copy link to clipboard

Copied

any web hosting account nowadays comes with mail + with many hosting
companies you can sign up for just mail hosting. voila - you have a mail
server you can use to send mail from CF.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Sep 25, 2008 Sep 25, 2008

Copy link to clipboard

Copied

can i use gmail as my smtp server to send mails. Since i will not be provided with resources to get a mail hosting solution

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 25, 2008 Sep 25, 2008

Copy link to clipboard

Copied

see my prior reply re using gmail - you need CF8.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Oct 31, 2008 Oct 31, 2008

Copy link to clipboard

Copied

The mailing functionality feature problem has been resolved by including the system name in the mail server name

Votes

Translate

Translate

Report

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
New Here ,
Oct 31, 2008 Oct 31, 2008

Copy link to clipboard

Copied

I am facing a problem in cf5 with the cfmail tag. Below is the specific error i recieved.

Error Diagnostic Information

Unknown Exception condition

TagCFMail::sendMessage

Some of the changes which i tried are:
1. In the registry added a string variabl e"Delay" with timestamp varying from 130 upto 500: This also did not worked.

2. Already have Mail folder and its subdirectory in the Cfusion folder.

3. Number of times restarted the CF Services: still problem persists

Can anyone help me in resolving this issue please?

Votes

Translate

Translate

Report

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
Engaged ,
Oct 31, 2008 Oct 31, 2008

Copy link to clipboard

Copied

Does the mail even get to the spool folder?

Show us the actual CFMAIL code that you are using.

Votes

Translate

Translate

Report

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
New Here ,
Nov 02, 2008 Nov 02, 2008

Copy link to clipboard

Copied

The mail does not goes to either spool or the undeliver folder. Below is the code.

I have already set the mail server in the cold fusion administrator.

<cfmail to="sachin.chawla@teradata.com" from="sachin.chawla@teradata.com" subject="Test Mail">
This is a test email.
</cfmail>

Votes

Translate

Translate

Report

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
New Here ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

This problem will probably be resolved by reinstalling the cold fusion. :>)

Votes

Translate

Translate

Report

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
New Here ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

Hi i have a problem in cold fusion wherein i need an email notification to web administrator mail box in case any email notification from my website goes to undelivered folder. so that i can again send them by moving files from undelivered to spool folder.

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

use FAILTO attribute of CFMAIL tag

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

if using FAILTO attribute does not work (can't remember if it fails to
only when getting a failed response from destination server or if cf
fails to send email too), then you can implement a Directory Watcher
Gateway to watch for new files being added to undelivered folder...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied


Hi azadi thanks for a quick response. Can you please tell me how can i implement the "Directory Watcher Gateway" Feature.


Thanks

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

there is a good post in ray camden's blog on www.coldfusionjedi.com
about DW Gateway:
http://www.coldfusionjedi.com/index.cfm/2007/10/29/DirectoryWatcher-and-ColdFusion-Image-Manipulatio...

it is about using it with uploading images, but pretty much the same
applies to the undeliverable mail folder.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

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
New Here ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

None

Votes

Translate

Translate

Report

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
New Here ,
Nov 11, 2008 Nov 11, 2008

Copy link to clipboard

Copied

Hi azadi i wrote the code, but its not working. below is the code for cofig file and the component file.

Config.ini
# The directory you want to watch. If you are entering a Windows path
# either use forward slashes (C:/mydir) or escape the back slashes (C:\\mydir).
directory=C:/CFusionMX7/Mail/Undelivr

# Should we watch the directory and all subdirectories too
# Default is no. Set to 'yes' to do the recursion.
recurse=no

# The interval between checks, in miliseconds
# Default is 60 seconds
interval=6000

# The comma separated list of extensions to match.
# Default is * - all files
extensions=*

# CFC Function for file Change events
# Default is onChange, set to nothing if you don't want to see these events
changeFunction=

# CFC Function for file Add events
# Default is onAdd, set to nothing if you don't want to see these events
addFunction=onAdd

# CFC Function for file Delete events
# Default is onDelete, set to nothing if you don't want to see these events
deleteFunction=


Component: watcher.cfc

<cfcomponent>

<cffunction name="onAdd">
<cfargument name="cfevent">
<cfset var myfile = arguments.cfevent.data.filename>
<cfset var newdest = getDirectoryFromPath(myfile)>

<!--- copy to ready --->
<!--- newdest is the same path as spool, so 'cheat' and switch to ready --->
<cfset newdest = replace(newdest, "/Undelivr", "/spool")>
<cffile action="move" source="#myfile#" destination="#newdest#/#getFileFromPath(myfile)#">

<cflog file="dirwatcher" text="Moved to #newdest#/#getFileFromPath(myfile)#">

</cffunction>
</cfcomponent>

Please provide support for the same.


Thanks,
Sachin

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 19, 2008 Nov 19, 2008

Copy link to clipboard

Copied

sachin, were you ever able to get the directory watcher working? my CONFIG and CFC look exactly as yours do and I can't get it to work... the CF EG instance says "Running" but the gateway is not invoking the CFC method...

Votes

Translate

Translate

Report

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
New Here ,
Jan 05, 2009 Jan 05, 2009

Copy link to clipboard

Copied

LATEST
yes i am also facing the same problem. any day if you get the solution to this problem please send me the solution as well.

Votes

Translate

Translate

Report

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
Documentation