Page 1 of 1

email not working in ZM

Posted: Sun Mar 26, 2006 8:42 pm
by antar
I get the below msg in the log. i have an SMTP defined and NET:SMTP is installed and so is MIME::Lite


Use of uninitialized value in pattern match (m//) at /usr/local/bin/zmfilter.pl line 755.
Use of uninitialized value in pattern match (m//) at /usr/local/bin/zmfilter.pl line 770.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 795.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 796.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 797.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 798.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 799.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 800.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 801.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 802.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 803.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 804.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 805.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 806.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 807.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 808.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 809.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 810.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 811.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 812.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 813.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 814.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 815.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 816.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 817.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 818.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 819.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 858.
Use of uninitialized value in substitution (s///) at /usr/local/bin/zmfilter.pl line 860.

Posted: Sun Mar 26, 2006 10:53 pm
by cordel
Looks like you might be missing something in your definitions in your mail syntax. Check your definitions and make sure you have all the syntax correct.

Regards,
Corey

Posted: Mon Mar 27, 2006 4:11 am
by antar
issue solved with this

from another posting

The problem turned out to be that the default value of ZM_EMAIL_TXT is missing a double quote (") at the end of it. This results in $email_subject and $email_body not being set because the initialization statement in zmfilter.pl fails:

( $email_subject, $email_body ) = ZM_EMAIL_TEXT =~ /subject\s*=\s*"([^\n]*)".*body\s*=\s*"(.*)"/ms;

Adding the closing quote to fixed this. I checked the zm_create.sql script and confirmed that it's missing. It's also missing from ZM_MESSAGE_TXT too but I'm not using that yet."

Posted: Mon Mar 27, 2006 7:13 am
by cordel
I remember something about that now that you mention it. Glad you got it going.
Cheers,
Corey

Posted: Tue Mar 28, 2006 6:36 pm
by Maxxer
antar wrote:( $email_subject, $email_body ) = ZM_EMAIL_TEXT =~ /subject\s*=\s*"([^\n]*)".*body\s*=\s*"(.*)"/ms;
I have this exact line in zmfilter.pl (ZM 1.22.0) but it's not sending emails. zmfilter log just says it's going to create the mail but then nothing happens.

Did I miss something?