Forums

[Solved]Multiple destinatarie from camp input

Ratne 06 Sep, 2012
Hello guys. I was wandering this form

From 
To
Submit

On submit the form send an automatic HTML email that I wrote (like newsletter for example) where it takes the camp 
from
To
And the form send the email with that camp 


Or a second (I think more dificult to realize) form
Name
Surname
From 
To
Submit

The same of above form but in the custom HTML email it takes the camp name and surname and replace them in a phrase or something like it. At end it create the html page(same things on the email) in a folder and show the link in the HTML email that has been sent

Is there a possibility to realize with croniform these types of forms?

Thx in any case


--------------edit 08/09/2012--------------

morning guys, i've done this step

Name
Surname
From
To
Submit

The same of above form but in the custom HTML email it takes the camp name and surname and replace them in a phrase or something like it.



Well i've created a form that automatically send my html newsletter to the camp TO.
Is there any possibility to create the last step?

At end it create the html page(same things on the email) in a folder and show the link in the HTML email that has been sent




And is there a possibility to send bulk dinamic email from a camp area? i'm trying to send dinamic email but actualy i can't use a text area with more than 1 email
Max_admin 09 Sep, 2012
Hi,

You can add more than 1 email address in the static "to" but they should be comma separated:

[email]me@x.com[/email],you@x.com,..etc

Saving the email template into html file should not be too hard but will require PHP coding, I think its posted here some where, let me know if you can't find it.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ratne 10 Sep, 2012
mmm ok well i've 2 problem:
i've done this form but i can't have more than one email sended. If i switch from dinamic to static email sent (in static in the to section i have inserted the camp to and not an email) when i try to send it from the web it's say there is not a valid email.

For second i have not found the topic for the .php code
GreyHead 10 Sep, 2012
Hi Ratne,

The standard Email action won't allow you to send emails to more than one dynamic address. My custom Email [GH] action will let you do this.

My action will also save the email body in $form->debug['Email body'] (note that if you have more than one email all the bodies will be saved here and you will need to extract the one you need).

I think that the standard Email also saves the body in $form->debug['email'][$actiondata->order]['Body'] but I'm not sure how you get the value of $actiondata->order

Bob
Ratne 10 Sep, 2012

Hi Ratne,
Email [GH] action will let you do this.



thx i will try

edit:
it works great🙂
really thx

is there now any way to create the custom html file and send the link in the template

if is impossible i think it's enought🙂
GreyHead 17 Sep, 2012
Hi Ratne,

If you are using my action then the Email Body should be in $form->debug['Email body'][0]

You could save this to an HTML file and include a link.

Bob
This topic is locked and no more replies can be posted.