Forums

problem with the CC Email option

Emmanuel 15 Apr, 2008
hi from France (excuse my poor english)

I upgrade Chronoform from 2.0 to 2.3.8 (no problem, every things works during the migration) (joomla 1.1x)

It's for an intranet, i have all access on the server (apache 2 on a redhat distribution) and on the mysql server.
I don't use the db option, i create my db and make my query myself in the "on submit code".
I don't use the chronoform validation tab

1°) I would like to use the CC email & the BCC email option in the "general" tab, but it doesn't work.
all the fields are blank in the "specials fields" tab.

2°) When I use "Email field name" in the "special fields" tab instead of "Email address(es)" in the "general" tab, it doen't works if i ~concatenate~ several emails address with "," as separator.

thanks

sometimes i deplore i was sleeping during the english courses at school !!! thanks to google translator !!B)
GreyHead 15 Apr, 2008
Bonjour Emmanuel,

1) What do you have in the CC email box?
Qu'est qu'il ya dans la boîte 'CC email'?

2) Make sure that there are no spaces between the addresses!
On peut pas utiliser les 'espaces' entre les addresses email.

Bob<br><br>Post edited by: GreyHead, at: 2008/04/15 13:50
Emmanuel 15 Apr, 2008
1°) something like :
Email address(es) : titi.toto@domain.com,tata.tutu@domain.com:
they receive the mail.
CC email address(es): another.mail@domain.com: no mail received

2°)
I use well formatted email with a coma "," for separator, with no space between the emails. It works with 1 email but not with 2 or moreface-meh-blank (that 's why i upgrade the component) in order to have the news specials fields !)

thanks for your response and your french !
GreyHead 15 Apr, 2008
Hi Emmanuale,

Ah, excusez moi. Entre version 2.0 et 2.3.8 Max a changer le champs dans le 'database'. Vous avez besoin d'ajouter des champs. Il y a une 'form special' ici. Telecharger le form, puis utiliser le bouton 'Restore Form' pour l'ajouter du 'Form Manager'. Finalement click sur le lien du form et, si ca marche, vour voyerais une message ''Database Updated'. Apres ca vous pouvez supprimer ce form.

I'm sorry, between Versions 2.0 and 2.3.8 Max made some changes to the database table. There's a special form that you can download that will update the database. You need to Restore it from the Form Manager, then click on the form link and, if all goes well, it will show the message 'Database Updated'. After that you can delete the special form.

Bob
GreyHead 15 Apr, 2008
Hi Emmanuale,

Ah, excusez moi. Entre version 2.0 et 2.3.8 Max a changer le champs dans le 'database'. Vous avez besoin d'ajouter des champs. Il y a une 'form special' ici. Telecharger le form, puis utiliser le bouton 'Restore Form' pour l'ajouter du 'Form Manager'. Finalement click sur le lien du form et, si ca marche, vour voyerais une message ''Database Updated'. Apres ca vous pouvez supprimer ce form.

I'm sorry, between Versions 2.0 and 2.3.8 Max made some changes to the database table. There's a special form that you can download that will update the database. You need to Restore it from the Form Manager, then click on the form link and, if all goes well, it will show the message 'Database Updated'. After that you can delete the special form.

Bob
Emmanuel 15 Apr, 2008
i do the database upgrade

a new lead (clue)
for the same form, it works with an email in the BCC email
but not with the CC email address(es)
GreyHead 15 Apr, 2008
Hi Emmanuel,

Ca, c'est bizarre, les deux champs utilise plus ou moins le meme code. SVP prenez une 'Form backup' par l'icon dans le 'Form Manager' et m'envoyer ca. M'addresse email est dessous dans mon sig.

That's odd, the two fields use more or less the same code. Please take a Form Backup from the icon in the Forms Manager and send it to me at the address in my sig.

Bob
Abhishka 16 Mar, 2009
Hi Bob!

Problem with CC and BCC. Not working. rest is fine.
When i tried upgrading the Database

heres the error..

Sorry but DB upgrade was not completed successfully, Here is the error from the DB:<br><br>Duplicate column name 'onsubmitcodeb4' SQL=ALTER TABLE `pri_chrono_contact` ADD `onsubmitcodeb4` LONGTEXT NOT NULL AFTER `onsubmitcode`;



Can you help me...
The file was : upgrade_form_v1.cfbak

Regards
Abhi
GreyHead 16 Mar, 2009
Hi Abhi,

That's a very old file - which versions are you updating from and to?

Bob

PS And the sql error shouldn't affect the email sending
Abhishka 16 Mar, 2009
Hi Bob!

I am using ChronoForms_V2.3.9__J1.0.zip for Joomla 1.01. I dont know if i can use ne other version.

Just the CC and BCC are not working.

Abhi
GreyHead 16 Mar, 2009
Hi Abhi,

OK, that is the latest version for Joomla 1.0

I think that CC & BCC don't work with the PHP Mail Function set as the mail server in Global Configuration - we've never quite bottomed out why.

The easy answers is to switch to using SMTP as the mail server if you can.

Bob
Abhishka 17 Mar, 2009
Hi Bob!

I changed the mail server setting in Global Configuration to SMTP server, but no use!!!

When I change is to SMTP no mails go to the "To" also. When I change back to PHP mail function, only mail goes to "to".

any suggestion or any patch for this issue?

Please help

Regards
Abhi
GreyHead 17 Mar, 2009
Hi Abhi,

In that case you probably haven't got an SMTP server, or haven't configured your logon correctly in the lower boxes.

Sorry, no known workaround for this one using the PHP Mail Function.

Bob
Abhishka 17 Mar, 2009
ok..

but can i use:

Email address(es)
must be blank or valid email address(es): [email]abhishekm@xyz.co.in[/email],pramod@xyz.co.in.

will it work? i have no issue using it instead of CC or BCC.

Abhi
GreyHead 17 Mar, 2009
Hi Abhi,

Yes, should work OK.

Bob
Abhishka 17 Mar, 2009

Hi Abhi,

In that case you probably haven't got an SMTP server, or haven't configured your logon correctly in the lower boxes.

Sorry, no known workaround for this one using the PHP Mail Function.

Bob




the lower boxes are empty. and the authorization is off.
Abhishka 17 Mar, 2009
Thanks a lot Bob!

If there come any work around or patch for the issue (CC and BCC) then please let me know. It would be easier. By the way our mailing server is in SMTP only. But i dont know why its not working.

Is there some bug in it?..but for know i guess i can work with it.

Thanks again
Abhi
GreyHead 17 Mar, 2009
Hi Anhi,

You need at least the mailer address like localhost or smtp.gmail.com and probably a username and password.

Bob
nml375 17 Mar, 2009
Unless you are hosted on a windows platform, I believe you could try using the sendmail option instead. Works pretty much the same way as the PHP mail() one, except it should support CC and BCC headers as long as the MTA does (sendmail does, I believe most other common ones do as well).

I guess the PHPMail class was written before PHP mail() would support all custom headers (such as CC/BCC) on all platforms without restrictions. Hence, when using the 'mail' Mailer, PHPMail only supports CC/BCC on non-windows platforms, and appears to have some nasty tweaks in the code (such as completely dropping CC's, and inserting BCC's into the headers).
This topic is locked and no more replies can be posted.