Blank Notifications Using Swifmailer adn Flyspray

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
Shotokan
Forum Newbie
Posts: 1
Joined: Mon Dec 24, 2007 5:45 pm

Blank Notifications Using Swifmailer adn Flyspray

Post by Shotokan »

Hi,

I have spent lots of time looking into this on flyspray forums and community groups but could not find the answers, so they point me here.

I have just upgrade my flyspray to 0994 and turned on notifications. I have never used the notifications before.

My php version is 5.2.4 and i am using the flyspray system in my workplace
where i have installed it into my intranet space which uses IIS6.

In order to send the notifications i have set the SMTP server to the
same smtp server i use internally in my company for the email sender
machines we have, and since this is all for internal use only the SMTP
server does not require authentication.


The FlySpray is running on the same box as the IIS and the SMTP is in another
server that only serves for smtp. So i have gone to the admin tool box in flyspray and set the IP for the
smtp server and no user and no password.


Now everytime someone changes i task where i am watching it, I
get a complete blank message with only the email FROM field complete
but the rest like TO and SUBJECT fields and the MESAGE all blank.

I have read tons of messages on the FAQ, Forums and here but could not
find anything that works for me. So i decided to write and explain
that this is being used in a INTRANET envrironment and if there is
anything else i need to do. Maybe is something i am missing because of my network or something.


I hope someone can help me with this, since the notifications are very
handy.
Thanks,
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to SwiftMailer.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

When you get one of these blank messages could you open it in your mail client please and select the option to "view source" of the email then paste that here. This option varies depending upon your mail client but it'll almost definitely be there. It sounds almost like the line breaks in the message have been doubled-up which has corrupted the message.
MattPower
Forum Newbie
Posts: 1
Joined: Fri Feb 08, 2008 1:14 pm

Re: Blank Notifications Using Swifmailer adn Flyspray

Post by MattPower »

I had the same issue with Flyspray .9.9.4, IIS6 and PHP5.2.4 and managed to kludge around it. (The source of the received emails were entirely blank).

Installing SMTP on the webserver and using 'localhost' (no user, no pass) in the flyspray configuration fixed half of the problem. I started getting subject lines, but no body to the messages.

Changing flyspray to use

In MailSend.php, sendPerformed(), somewhere around line 130, I found that changing the line:

$message_body = $body_data->readFull();

into

$message_body = $message->getBody();

fixed it for me. At least I'm now getting body to the email.
Post Reply