mail not being delivered CFMAIL

460 views
Skip to first unread message

Norm S

unread,
Mar 13, 2017, 1:50:16 PM3/13/17
to Lucee
mail server verified.
messages show up in open folder
same script works fine in CF

tried using the default server config (no server listed in cfmail) and server info included in CFMail.

Thanks in advance.
Just installed Lucee and testing..

Norm
.




Denard Springle

unread,
Mar 14, 2017, 2:36:20 PM3/14/17
to Lucee
Could be any number of reasons why the mail isn't being sent... most likely causes are firewalls (e.g. this code may work on the ACF server simply because that server is allowed to send mail through the firewall) or other transport hazards (network issues between your server and the mail server), invalid security or credentials at the mail server, etc. etc.

You can usually find indications as to what is wrong in your mail.log (WEB-INF/lucee/logs folder).

Beyond that, the information you provided is not enough to really help you. Knowing your network configuration in general (differences between the ACF and lucee server network environments), including data from your mail.log and/or providing a SSCCE could all be keys to getting further help on this issue if you can't resolve it by viewing the logs yourself :)

HTH

-- Denny

Igal @ Lucee.org

unread,
Mar 14, 2017, 3:14:49 PM3/14/17
to lu...@googlegroups.com

Emails are by default sent asynchronously via a spooler, so when there is an error you do not see it on the page that sent the email, but instead you have to dig up the logs etc.

The simplest way to handle this in my opinion is to create a simple script that will send an email, and add the following attribute to your cfmail tag:  async=false

This way when you run the script the email will be sent in the same thread of the script, and if there is an error you will see it on the screen.


Igal Sapir
Lucee Core Developer
Lucee.org

--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/d396edd7-a939-43fa-896c-253c47d0b3dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Norm S

unread,
Mar 15, 2017, 10:31:41 AM3/15/17
to Lucee
I took TLS and SSL out and it stated working.

Thanks for the help.

Mark Drew

unread,
Mar 15, 2017, 11:15:15 AM3/15/17
to lucee
What no one has said here is that there is a simple way to check what happened with an email. You can go to the web admin and check under the tasks section.

I made a little video to show how you can do this as well as use Tasks  https://youtu.be/olF3aI3MeeU


Regards

Mark Drew



-- 
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages