02-08-2011
You just want to send an HTML email (and you use AIX)?
This User Gave Thanks to purdym For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
encoding type for images? (5 Replies)
Discussion started by: biswasbaishali
5 Replies
2. Red Hat
Hi there..
I need a proper "mutt" command to send a mail with html body and html attachment at a time.
Also if possible let me know the other commands to do this task.
Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies
3. Shell Programming and Scripting
Hello ,
I am trying to send an email with two attachments . I have tried all previous suggestion in this forum but none worked. I could send one attachment in an email by
uuencode $file "$file" | mailx -m -s "File" xxx@xx.com
but unable to send multiple attachments .
I have tried
... (8 Replies)
Discussion started by: RaviTej
8 Replies
4. UNIX for Advanced & Expert Users
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies
5. Shell Programming and Scripting
Hi,
Im having a bit of an issue with using the uuencode command and sending out an email.
My aim is to send an email out which has a body and also have attachments. Currently I can either get one or the other and not both on the same email.
uuencode... (4 Replies)
Discussion started by: 02JayJay02
4 Replies
6. Shell Programming and Scripting
Hi All,
I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same :
#!/usr/bin/ksh
export MAILTO="email@domain.com"
export SUBJECT="Report"
export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies
7. Shell Programming and Scripting
Hi ,
I have a sql query in the unix script ,whose output is shown below.I want to convert this output to HTML table format & send email from unix with this table as email body.
p_id src_system amount
1 A 100
2 B 200
3 C ... (3 Replies)
Discussion started by: jagadeeshn04
3 Replies
8. Shell Programming and Scripting
I am using Sun Solaris ver. 5.10 and trying to send an HTML table in email body using mail command in C shell script.
I tried following commands:-
#1
mail -m "MIME-Version: 1.0;Content-type:text/html;charset=UTF-8" receiver@mail.com < file.html #2
mail -m "Content-type: text/html;" -s "This... (4 Replies)
Discussion started by: jnrohit2k
4 Replies
9. Shell Programming and Scripting
Hello All,
I have a query here. I am sending an HTML table(which I am creating it by a call to REST API, in a LINUX box) and from there I have to send it into an email. So following are the poins on same:
As data is not static so it is writing Dynamic data and creating HTML file.
There is... (9 Replies)
Discussion started by: RavinderSingh13
9 Replies
10. HP-UX
HP-UX mbhp7640 B.11.31 U ia64 4294967295 unlimited-user license
Our database builds a MIME compliant html email, then cats that to sendmail - no problem.
Due to horrible issues with the native uuencode, we long ago began using uuenview to encode our attachments - no problem. An example is... (1 Reply)
Discussion started by: bubba77
1 Replies
LEARN ABOUT DEBIAN
html::formhandler::manual::fromdfv
HTML::FormHandler::Manual::FromDFV(3pm) User Contributed Perl Documentation HTML::FormHandler::Manual::FromDFV(3pm)
NAME
HTML::FormHandler::Manual::FromDFV - converting from Data::FormValidator
VERSION
version 0.40013
SYNOPSIS
Manual Index
Cheatsheet for converting from Data::FormValidator.
DESCRIPTION
Information that's useful when switching from Data::FormValidator to HTML::FormHandler. There's not a lot here yet, so if you have
something to add, patches are welcome.
In a general way, FormHandler doesn't have nearly so many "special" checks as Data::FormValidator. It would be possible to implement many
of them, but there hasn't been much demand for them. So far FormHandler users seem to be satisfed with the "do your own checks in a Perl
method" solution. Because of the greater complexity of FormHandler's data model - with Repeatable arrays and nested compounds, etc - it's
somewhat harder to do some of them automatically.
Differences/conversions
dependencies
In FormHandler, 'dependency' is the equivalent of 'dependency_group', without the key names.
The other variations of dependencies in DFV are not implemented in FormHandler, and would normally be done in a form's 'validate' sub.
trim, filters
A 'trim' filter is installed by default in FormHandler; it's a special version of an apply action, and can be set to a transform or
Moose type. See the documentation in HTML::FormHandler::Field#trim.
Transforms and inflations/deflations do not change what is presented in the form unless you set the 'fif_from_value' flag on the field.
FV_length_between, FV_max_length, FV_min_length
Use text fields with 'minlength' and 'maxlength' attributes.
FV_eq_with
Perform your own checks in the form 'validate' sub.
sub validate {
my $self = shift;
if( $self->field('one')->value eq $self->field('two')->value ) {
}
}
Constraints
The simple constraints from Data::FormValidator::Constraints can be used directly in a FormHandler form:
use Data::FormValidator::Constraints ('match_state');
has_field 'my_state' => (
apply => [ { check => &match_state, message => 'Invalid State' } ] );
email
Use the 'Email' field type, or use the the FH Moose Type, 'email'.
has_field 'email' => ( type => 'Email' );
-- or --
use HTML::FormHandler::Types ('Email');
has_field 'email' => ( apply => [ Email ] );
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Manual::FromDFV(3pm)