Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [anup123] Validation email and html

Quote Reply
Re: [anup123] Validation email and html In reply to
Hi. You could try looking in /Links/User/Add.pm and Modify.pm, and find the bit that looks like;

Code:
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
from => $from,
subject => $subject,
to => $to,
msg => $msg,
debug => $Links::DEBUG
) or die "Unable to send mail: $GT::Mail::error";

...and change it to look something like;

Code:
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
from => $from,
subject => $subject,
to => $to,
msg => $msg,
type => 'text/html',
debug => $Links::DEBUG
) or die "Unable to send mail: $GT::Mail::error";

Basically, you should just need to add the line in red. This will then make the email notifications go out in HTML format Smile

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Validation email and html anup123 7940 Jul 12, 2004, 3:50 AM
Thread Re: [anup123] Validation email and html
anup123 7759 Aug 7, 2004, 2:17 AM
Thread Re: [anup123] Validation email and html
Andy 7773 Aug 7, 2004, 7:43 AM
Thread Re: [Andy] Validation email and html
anup123 7792 Aug 7, 2004, 11:41 AM
Thread Re: [anup123] Validation email and html
Andy 7782 Aug 8, 2004, 2:38 AM
Thread Re: [Andy] Validation email and html
anup123 7786 Aug 8, 2004, 4:53 AM
Thread Re: [anup123] Validation email and html
Stephan99 7755 Dec 13, 2004, 3:48 PM
Thread Re: [Stephan99] Validation email and html
Andy 7877 Dec 14, 2004, 12:53 AM
Thread Re: [Andy] Validation email and html
Stephan99 7711 Dec 14, 2004, 1:01 AM
Thread Re: [Stephan99] Validation email and html
Stephan99 7688 Dec 14, 2004, 5:16 PM
Thread Re: [Stephan99] Validation email and html
HyperTherm 7665 Dec 15, 2004, 11:22 AM
Post Re: [HyperTherm] Validation email and html
Stephan99 7650 Dec 15, 2004, 11:30 AM
Thread Re: [anup123] Validation email and html
HyperTherm 7636 Mar 14, 2005, 12:41 AM
Thread Re: [HyperTherm] Validation email and html
brewt 7626 Mar 14, 2005, 2:59 PM
Post Re: [brewt] Validation email and html
HyperTherm 7602 Mar 14, 2005, 4:00 PM
Thread Re: [brewt] Validation email and html
Gila 7556 Aug 22, 2005, 1:46 AM
Post Re: [Gila] Validation email and html
brewt 7567 Aug 22, 2005, 12:10 PM