|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
FormFeedI’m using a PhpMailer() class that I or someone
downloaded. I’m trying to insert a page break in a fax. Shouldn’t
“\f” work? I’m doing $mailerInstance->MsgHTML($faxbody.”\f”.$msgbody); My client says there’s no page break. Input, please? I have a headache and any help would be greatly appreciated. Michele _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation |
|
|
Re: FormFeedOn Fri, Oct 30, 2009 at 6:03 PM, Michele Waldman <mmwaldman@...> wrote:
Do you mean one of these: http://phpmailer.worxware.com/? If so which one and which version. If you don't remember opening up the class
Well the question is what does the fax gateway support in terms of page break? What fax gateway are you using. \f does insert a form feed character, but how the fax gateway interprets it is the issue..
So the question is what fax gateway are you using, and how do you tell that fax gateway to do a form feed. If your gateway does not support any explicit form of form feed, Maybe you can make the fax body an email attachment to achieve the result you want.
If you really care about the formatting of the fax, and your gateway will print attachments, consider TCPDF. This class generates PDFs, which naturally give you more control over the output of the document. This will alse save paper during test cycles, since you can jsut generate the PDF and email it to yourself, and be fairly confidant that the fax output will be the same as what you see in acrobat reader.
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation |
|
|
Re: FormFeedThank you. I downloaded the fpdf html to
pdf conversion class to format the email. Michele From:
talk-bounces@... [mailto:talk-bounces@...] On Behalf Of Justin Dearing On Fri, Oct 30, 2009 at 6:03 PM, Michele Waldman <mmwaldman@...> wrote: I’m using a
PhpMailer() class that I or someone downloaded. Do you mean one of these: http://phpmailer.worxware.com/?
If so which one and which version. If you don't remember opening up the class
Well the question is what does the fax gateway support in terms
of page break? What fax gateway are you using. \f does insert a form feed
character, but how the fax gateway interprets it is the issue.. So the question is what fax gateway are you using, and how do you tell
that fax gateway to do a form feed. If your gateway does not support any
explicit form of form feed, Maybe you can make the fax body an email attachment
to achieve the result you want. If you really care about the formatting of the fax, and your gateway
will print attachments, consider TCPDF. This class generates PDFs, which
naturally give you more control over the output of the document. This will alse
save paper during test cycles, since you can jsut generate the PDF and email it
to yourself, and be fairly confidant that the fax output will be the same as
what you see in acrobat reader. _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation |
| Free embeddable forum powered by Nabble | Forum Help |