Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: Tweeking a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1383 of 1496
Post > Topic >>

Re: Tweeking a sendmail routine.

by sigzero@[EMAIL PROTECTED] (Robert Hicks) Mar 26, 2007 at 02:50 PM

Wiggins d'Anconia wrote:
> Greg Schiedler wrote:
>> I know enough Perl to be dangerous!
>>
>> I have a form that sends out several different confirmations depending
on
>> who the receipient is.
>>
>> One particular E-mail I need to be in html format so I can put it into
a
>> specific format.  I added a couple of lines to the sendmail routine I
was
>> using and it fixed my E-mail problem but created a problem with my fax
>> gateway copy.
>>
>> #1 gets sent the Joe Enduser plain E-mail(Can be html my tweek forced 
>> html)
>> #2 gets sent to the Office HTML Format.
>> #3 Fax gateway (Plain E-mail).
>>
>> Fax gateway is in the US Telephone format ie.  1xxxyyyzzzz@[EMAIL PROTECTED]
>>
>> I thought about adding an if statment but it looks like if I added an
>> if/else to my tweeked else statement the receipient info has already
been
>> sent....
>>
>> Greg :-)
>>
> 
> Best suggestion would be to switch to using a module. MIME::Lite for 
> instance but there a lot that will work. Check CPAN. Mail while it seems

> simple is incredibly complex, re-inventing the wheel, especially with 
> such strict requirements is going to be time consuming.
> 

I like MIME::Lite and use it in anything of this sort.  : )

Robert
 




 3 Posts in Topic:
Tweeking a sendmail routine.
Greg@[EMAIL PROTECTED] (  2007-03-22 15:26:36 
Re: Tweeking a sendmail routine.
wiggins@[EMAIL PROTECTED]  2007-03-25 19:12:32 
Re: Tweeking a sendmail routine.
sigzero@[EMAIL PROTECTED]  2007-03-26 14:50:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 11:11:55 CST 2008.