Hi,
Sorry, I don't send files like that. You have to be so careful to get all the right headers, it much better to send it using existing modules.
By definition, that's not fine :) haha. It means you are sending data that the phone isn't expecting. The way you are sending emails is very 1990 - you need to update to a better method if you want your emails to come out properly ;)
With regards to the templates - you don't have to use the template bit. You could just as easily do:
my $text = qq|A text version as well (good for mobiles, or low data devices|;
Then the rest of the code basically stands
Cheers
Andy
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!
Sorry, I don't send files like that. You have to be so careful to get all the right headers, it much better to send it using existing modules.
Quote:
also, i am able to send attachments fine. the problem only occurs when the recipient opens the mail on iphone or android. instead of showing link to the attachment, the pdf (or whatever) appears as garbled text in the body of the message.By definition, that's not fine :) haha. It means you are sending data that the phone isn't expecting. The way you are sending emails is very 1990 - you need to update to a better method if you want your emails to come out properly ;)
With regards to the templates - you don't have to use the template bit. You could just as easily do:
Code:
my $html = qq|My html message - you can use <b>etc</b> in here - NO HEADERS - just the email body!|; my $text = qq|A text version as well (good for mobiles, or low data devices|;
Then the rest of the code basically stands
Cheers
Andy
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!