TOPIC:

Different backmails or different text in backmails depending on selection 1 month 21 hours ago #274584

  • Topic Author
  • jr
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 21
  • Thanks: 0
Thank you very much. It works :-)
regards

Please Log in or Create an account to join the conversation.

Different backmails or different text in backmails depending on selection 1 month 21 hours ago #274586

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2676
  • Karma: 2
  • Thanks: 145
Hi,

super! :)

I'm glad I can help you!

If you need more help, let me know!


Regards,
Mirko
The following user(s) said Thank You: jr

Please Log in or Create an account to join the conversation.

Different backmails or different text in backmails depending on selection 1 month 21 hours ago #274587

  • Topic Author
  • jr
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 21
  • Thanks: 0
Okay, my last question is how I can now insert my php variables such as $markenname into the text.
I tried it like this:
$this->execPieceByName('ff_InitLib');
$from = 'jrieger@dury.de'; // Change this to the EMAIL ADDRESS you want to appear in the Email's FROM field
$fromname = 'DURY LEGAL Rechtsanwälte '; // Change this to the 'FROM' NAME you want to appear in the Email
$recipient = ff_getSubmit('email'); //change email with name of your email element (not title), here user enters their mail
$subject = 'Ihre DE BASIS Markenanmeldung';
$select1=ff_getSubmit('Zahlung'); //change nameofradiogroup with name for your radio group(not title)
$markenname=ff_getSubmit('Markenname');
$name=ff_getSubmit('Name');
$ap= ff_getSubmit('Ansprechpartner');
$strasse=ff_getSubmit('Strasse');
$ort=ff_getSubmit('PLZORT');
$telefon=ff_getSubmit('Telefon');
$website=ff_getSubmit('website');
$markenportal = 'kanzlei@dury.de';
$subject = 'Neue DE BASIS Markenanmeldung auf markenportal.de';

$headers = "Content-Type: text/html; charset=UTF-8\r\n";
$isHTML=true;
$body1 = '<html><body>';
$body1.='<p><b>Vielen Dank für Ihre Anfrage!</b></p>';
$body1.='<p>Sie haben auf unserer Webseite Markenportal.net eine [DE]-Basis-Markenanmeldung mit folgendem Inhalt beauftragt:</p>';
$body1.='<p>Markenname:<b>$markenname</b></p>';
$body1.='</body></html>';

if($select1=="Vorkasse") {
$this->sendMail($from, $fromname,$recipient, $subject, $body1, $isHtml, $headers);

best regrads

Please Log in or Create an account to join the conversation.

Different backmails or different text in backmails depending on selection 1 month 20 hours ago #274588

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
Hi,

like this:
$this->sendMail($from, $fromname, $recipient, $subject, $body, $isHtml, $headers); 
$this->execPieceByName('ff_InitLib');
$from = 'jrieger@dury.de'; // Change this to the EMAIL ADDRESS you want to appear in the Email's FROM field
$fromname = 'DURY LEGAL Rechtsanwälte '; // Change this to the 'FROM' NAME you want to appear in the Email
$recipient = ff_getSubmit('email'); //change email with name of your email element (not title), here user enters their mail
$subject = 'Ihre DE BASIS Markenanmeldung';
$select1=ff_getSubmit('Zahlung'); //change nameofradiogroup with name for your radio group(not title)
$markenname=ff_getSubmit('Markenname');
$name=ff_getSubmit('Name');
$ap= ff_getSubmit('Ansprechpartner');
$strasse=ff_getSubmit('Strasse');
$ort=ff_getSubmit('PLZORT');
$telefon=ff_getSubmit('Telefon');
$website=ff_getSubmit('website');
$markenportal = 'kanzlei@dury.de';
$subject = 'Neue DE BASIS Markenanmeldung auf markenportal.de';

$headers = "Content-Type: text/html; charset=UTF-8\r\n";
$isHTML=true;
$body1 = '<html><body>';
$body1.='<p><b>Vielen Dank für Ihre Anfrage!</b></p>';
$body1.='<p>Sie haben auf unserer Webseite Markenportal.net eine [DE]-Basis-Markenanmeldung mit folgendem Inhalt beauftragt:</p>';
$body1.='<p>Markenname:<b>'.$markenname.'</b></p>';
$body1.='</body></html>';

if($select1=="Vorkasse") {
$this->sendMail($from, $fromname,$recipient, $subject, $body1, $isHtml, $headers);

Regards,
Tihana
The following user(s) said Thank You: jr

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.066 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!