TOPIC:

Include signature image (not as an attachment) in the admin email (Html code)? 1 month 3 days ago #247243

  • paul1234ohio
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
I have two questions:

1. I can not get the signature to show up in the email. Mine looks like Sakari 's first post.
2. The signature storage seems very insecure. Anyone with path can view the signature.

Is there a more secure way to store and display the signature?

Thanks,
PR

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

Include signature image (not as an attachment) in the admin email (Html code)? 1 month 2 days ago #247246

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

I made a test form with one Signature element. Element name is signature.
I put this code in form->Advanced->more options->Submit pieces->End submit->check custom:
$this->execPieceByName('ff_InitLib');
$from ='tihana.krivic@crosstec.org'; //change email
$fromname = 'Tihana';  //change name
$subject = 'The New Subject'; // Change to your preferred Email subject
$recipient = 'nesto@gmail.com'; // Change to your admin Email address

$signature= ff_getSubmit('signature');   //replace signature with name of element for your signature (not title)

$attachment=null;
$isHtml = true;

$body =  "
<html><body>
<h1>This is the title of email </h1>

<table>
<tr>
<td>
   <strong>Name:</strong>
</td>
<td>
   $name
</td>
</tr>

<tr>
<td>
   <strong>Signature:</strong>
</td>
<td>
   <img src= 'https://YOURDOMAIN.com/media/breezingforms/signatures/".$signature."' alt='mypicture' width='150' height='150'>
</td>
</tr>
</table>
</body></html>";

$this->sendMail($from, $fromname, $recipient, $subject, $body, $attachment, $isHtml);

Please replace YOURDOMAIN with yours.

Let me know if it works for you

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Include signature image (not as an attachment) in the admin email (Html code)? 1 month 1 hour ago #247441

  • paul1234ohio
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
Ok. Thanks! I got it to work.

Is there a way to format the text. When you try to format the table, cells or font the form with not submit.

PR

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

Include signature image (not as an attachment) in the admin email (Html code)? 4 weeks 21 hours ago #247492

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

Great :)

Can you please post here your code, that I can look what 's wrong when you try to change format text or font?

Regards,
Tihana

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

Include signature image (not as an attachment) in the admin email (Html code)? 3 weeks 4 days ago #247753

  • paul1234ohio
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0

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

Include signature image (not as an attachment) in the admin email (Html code)? 3 weeks 3 days ago #247788

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

please make sure that you use correct HTML tag for format text.
E.g. if you to mark important text use:
<strong>Important text</strong>
www.w3schools.com/html/html_formatting.asp

Let me know if it helps

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.051 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!